Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member fenixer's Avatar
    Join Date
    Feb 2007
    Posts
    92

    Angry subdomain for addon domain wrong configured at httpd.conf

    Hello...

    When I try to add a subdomain, selecting an addon domain at the list, the httpd.conf entries are configured ok, but not for the Directoryroot...

    An example:

    I have:

    <VirtualHost x.x.x.x>
    ServerAlias www.subdomain.addondomain.tld
    ServerAdmin webmaster@subdomain.addondomain.tld
    DocumentRoot /home/user/public_html/subdomain
    BytesLog domlogs/subdomain.addondomain.tld-bytes_log
    ServerName subdomain.addondomain.tld

    ...etc
    As you see, at httpd.conf the servername and alias, are well configured, as I added a subdomain for my addon domain.

    But.... can you see the DocumentRoot? why is that pointing to the public_html of the main domain, and not pointing to the directory /home/user/public_html/addondirectory/subdomain ??????????????



    any way to solve this?
    ---

    Kind Regards.
    Gino.... IT Hosting Fenixer
    www.fenixer.es
    www.manuales.fenixer.es

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Just for clarification, when you created the subdomain for your addon domain, did you by chance set the directory for that to the main account's public_html ?

    Note, if you are on cPanel 10 - ignore that question since you can't do that in version 10. Just let everyone here know if you're on 10 or 11.

  3. #3
    Member fenixer's Avatar
    Join Date
    Feb 2007
    Posts
    92

    Default

    cpanel v10 at this moment...
    ---

    Kind Regards.
    Gino.... IT Hosting Fenixer
    www.fenixer.es
    www.manuales.fenixer.es

Similar Threads & Tags
Similar threads

  1. wrong IP in httpd.conf
    By Rooney in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-01-2009, 01:36 PM
  2. subdomain redirect in httpd.conf?
    By sirbrent in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-25-2008, 05:19 AM
  3. httpd.conf sites/www.domain.com.conf Wildcard DNS
    By ttremain in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-16-2008, 11:19 AM
  4. Problem while add subdomain/domain(while cpanel edit the httpd.conf)
    By zaxihosting in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-22-2007, 08:55 PM
  5. Addon Domain Problem - Serveralias not added to httpd.conf
    By mydomain in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-23-2004, 05:57 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube