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 Alias not working - redirecting

Discussion in 'Bind/DNS/Nameserver' started by Wristy, Jun 7, 2016.

  1. Wristy

    Wristy Registered

    Joined:
    Jun 7, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Website Owner
    I have three Alias domains configured in channel without redirection so it is pointing to the root. All three domains simply redirect to my main domain instead of masking.

    What's going on? How do I achieve domain masking?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,457
    Likes Received:
    417
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    This might depend on the website you're directing the URLs to. If you're pointing to an html site with a few pages linked together, the code in them should be using relative URLs. Your /index.html has a link to /aboutus.html, for example. If you're using a script like wordpress for example, there's plugins for making relative URLs work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Wristy

    Wristy Registered

    Joined:
    Jun 7, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Website Owner
    Ah yes, that makes sense. I'm using wordpress so that would be it.
    Just checked out a plugin, complicated stuff to get it working correctly.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    You may also want to review any redirect or Mod_Rewrite rules that could direct the alias to another domain name.

    Thanks!
     
    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