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!

Adding second domain to WHM account gone wrong!

Discussion in 'General Discussion' started by akparade, Apr 20, 2012.

  1. akparade

    akparade Registered

    Joined:
    Apr 20, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hey guys, I have good experience with a single domain WHM account but I'm trying to add a second domain (completely different website) to my WHM account but it's not working right!

    My domain.com redirects to ip.address/~username and every page but the home page is a 404 error!

    I've added the account in WHM and in my 123-reg account for my domain I've changed MX @ and WWW A records to my accounts IP address.

    I already have a main domain on my VPS hosting that works and I checked all details are the same and they are.

    Any details you need to possibly help me?

    (domain: thelatestfashion.co.uk)
    (where it redirects to: /http://46.32.233.106/~thelates/)

    Thanks!
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    Please check the .htaccess file of your website and see if there is NO redirection code present.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Apache's mod_userdir is not always compatible with certain Mod_Rewrite rules or internal script redirects. Try modifying the hosts file on your computer to point the domain name to the IP address. This will allow you to view the domain name over the new IP address before changing the name servers. More information on the hosts file can be found at:

    Hosts File

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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