cpanel resolving to localhost.localdomain

Well I searched everywhere and couldn't find anything on this issue. Basicly my problem is that when I go to ip.address/~username cpanel tries to send me to localhost.localdomain. I tried messing with my /etc/hosts file and resolv.conf but no luck..

If you know a fix, I would appreciate it. Thanks.

 

 

 

 

Top