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!

Setting up domains virtually

Discussion in 'General Discussion' started by entitystudio, Aug 24, 2006.

  1. entitystudio

    entitystudio Registered

    Aug 24, 2006
    Likes Received:
    Trophy Points:

    Can anyone help as my hosting provider is struggling with this. I have set up 2 accounts in WHM. As we know they point to different places on the server. How do I make these two domains point to the same place so they execute the same code? Domain parking is no good as it redirects and the URL changes, and the code I need to execute listens out for the url. I need to use cpanel as I want to use bandwidth restriction and statistics so the domains function as individual accounts.

    Any help is much appreciated.
  2. fwwebs

    fwwebs Well-Known Member

    Feb 16, 2004
    Likes Received:
    Trophy Points:
    Your host needs to edit the httpd.conf. In the vhost container for your domain they can add the additional domain as an alias.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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