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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Show same website on different domain

Discussion in 'Bind / DNS / Nameserver Issues' started by gentlemedia, Sep 1, 2017.

  1. gentlemedia

    gentlemedia Member

    Joined:
    Jul 15, 2017
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Hi all,

    I have assigned the DNS of another domain also to my VPS, but I get the 'cgi-sys/defaultwebpage.cgi' cPanel page on that domain instead of the website that is on the VPS.

    My provider told me that I have to set up an account in cPanel or WHM for that domain, so that it shows the actual website.

    How do I go about that. Where can I set this up?

    Thanks,
    Ralph
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,371
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. gentlemedia

    gentlemedia Member

    Joined:
    Jul 15, 2017
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Thanks, @cPanelMichael !

    I did that and I noticed that it now redirects the domain to the other domain. Thus the URL if the domain changes to the URL of the other domain.

    What I would like is to show the same content on both domains. I've noticed the 'Park a domain' option in WHM, but if I use that then I still get the 'cgi-sys/defaultwebpage.cgi' cPanel page on that domain instead of the same content of the other domain.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,371
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    This should not happen by default. Do you have any custom Mod_Rewrite rules that are redirecting the access attempts to the aliased domain name?

    Thank you.
     
Loading...

Share This Page