The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Domain Redirects To IP/~username

Discussion in 'Bind / DNS / Nameserver Issues' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page