Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Domain Redirects To IP/~username

Discussion in 'Bind/DNS/Nameserver' started by Joe Strandberg, Jun 5, 2015.

  1. Joe Strandberg

    Joe Strandberg Registered

    Joined:
    Jun 5, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    At work :(
    cPanel Access Level:
    Root Administrator
    I recently pointed my domain to my server. The problem is, when I go to the domain, it redirects to IP/~username.

    I think the problem may be that I went to "Add an A Entry for Your Hostname" and did it. If that does what I think it does, then reversing it should solve my problem. Unfortunately, I don't know who to do that.

    I've been Googleing it for a while, but I can't find anything. If someone could tell me what to do, or at least point me in the right direction, I'd really appreciate it!

    CENTOS 6.6 x86_64 standard
    WHM 11.48.4 (build 4)
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,822
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It's likely there's a script configuration value in the script you uploaded to your website that's redirecting you to the Mod_Userdir URL. Or, check the .htaccess file within the account's public_html directory to ensure the redirect isn't configured there.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Joe Strandberg likes this.
  3. Joe Strandberg

    Joe Strandberg Registered

    Joined:
    Jun 5, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    At work :(
    cPanel Access Level:
    Root Administrator
    I did have Mod_Userdir enabled. I feel like an idiot! Thank you so freaking much cPanelMichael!
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,822
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Joe Strandberg likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice