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!

Subdomain Creation problem

Discussion in 'General Discussion' started by romanus, Dec 16, 2005.

  1. romanus

    romanus Well-Known Member

    Jul 17, 2004
    Likes Received:
    Trophy Points:
    I create a subdomain fine in cpanel. a directory is automatically created in the domain. But after an appropriate period of time for propagation, when i type the subdomain in, I am automatically redirected to the isntead of the that I typed. No redirections are set.

    The wierd thing is that I have one domain that I have now problem creating a subdomain on, the rest just won't deposit the user into the subdomain, they keep getting routed back out to the main domain

    Thanks for any help
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. PWSowner

    PWSowner Well-Known Member

    Nov 10, 2001
    Likes Received:
    Trophy Points:
    ON, Canada
    Check your httpd.conf file to see if it has the right path to the subdomain. I've had it leave out the subdomain folder a few times before.

    If it needs to be changed, make a backup copy first, just in case it gets messed up, then after changing it, restart apache.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Izzee

    Izzee Well-Known Member

    Feb 6, 2004
    Likes Received:
    Trophy Points:
    httpd.conf Edit Tip

    At the shell prompt use this command:

    /usr/local/apache/bin/apachectl configtest

    This should return
    Syntax OK

    if your edits are correct.

    It will return an error message with a line number if your edit was incorrect.

    Use this after editing and saving your httpd.conf file but before restarting the server to check the syntax is correct and will allow Apache to restart.

    No worries of Apache not starting and returning an error because you did a typo. ;)
    #3 Izzee, Dec 17, 2005
    Last edited: Dec 17, 2005

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