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

Discussion in 'Bind / DNS / Nameserver Issues' 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:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Thanks!
     
Loading...

Share This Page