Results 1 to 3 of 3

Thread: subdomain on parked domain leads to main domain?...

  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    277

    Default subdomain on parked domain leads to main domain?...

    I have a client who has the main domain: domainA.com

    Then the user parked a domain on it: domainB.com

    The user then added a subdomain on the parked domain to go to the forum of the site.

    However, when the url is entered into a browswer: http://forum.domainB.com

    it takes the user to the main page and keep the url correct.

    How can I get the subdomain on the parked domain to go to the forum directory?

  2. #2
    Member
    Join Date
    Jul 2002
    Posts
    93

    Default

    Quote Originally Posted by Devil Inside
    I have a client who has the main domain: domainA.com

    Then the user parked a domain on it: domainB.com

    The user then added a subdomain on the parked domain to go to the forum of the site.


    However, when the url is entered into a browswer: http://forum.domainB.com

    it takes the user to the main page and keep the url correct.

    How can I get the subdomain on the parked domain to go to the forum directory?
    This should work fine as it is...

    Check the httpd.conf file and find the subdomain... and make sure the DocumentRoot is pointed at the subdomain directory.

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    277

    Talking

    Thanks for the suggestion, that was the problem.

    When the subdomain was added, it placed the serveralias entry in the domaina.com virtualhost.

    When it should have been in the forum.domaina.com virtual host.

    Thanks again!

Similar Threads

  1. switch main domain and parked domain in account
    By bangsters in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 03-08-2010, 03:15 PM
  2. Can I point a parked domain to a folder on the main domain?
    By rligg in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 04-04-2008, 12:12 PM
  3. Creation of addon domain leads to subdomain addition
    By allisonf in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 03-10-2008, 08:39 AM
  4. Parked domain show up main domain on URL Bar
    By Jorge in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 06-25-2006, 01:02 PM
  5. Parked domain shows main domain sometimes.
    By blulegend in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 03-03-2003, 05:14 PM