Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    10

    Default All the new accounts subdomain is not working

    I have so deadly seriously problem

    All the accounts when creating another new subdomains now..it all says Can't find server

    but then if I type

    http://www.mydomain.com/sub/

    it works!

    Is it the problem with cPanel this time??

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Jan 2003
    Posts
    82

    Default Re: All the new accounts subdomain is not working

    Originally posted by alilam
    I have so deadly seriously problem

    All the accounts when creating another new subdomains now..it all says Can't find server

    but then if I type

    http://www.mydomain.com/sub/

    it works!

    Is it the problem with cPanel this time??

    cPanel.net Support Ticket Number:
    Did you checked your Nameservers if the Subdomain is in the Zonefile for the Domain ?

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Jun 2003
    Posts
    10

    Unhappy

    I went into "Edit a DNS Zone"

    Searched for the domain, and see

    hk (subdomain name) A xxx.xxx.xxx.xxx (main IP)

    It is there, the old subdomains are working just the new one doesn't work!

    This problem started after the update version of cPanel
    S82

    but now I am on R104
    still not fix the problem

    How about you take a try if this works for you
    http://hk.wchost-usa.com



    HELP!!!!!!!!!!!!!!!!!!



    cPanel.net Support Ticket Number:
    Last edited by alilam; 08-19-2003 at 07:33 AM.

  4. #4
    Member
    Join Date
    Jan 2003
    Posts
    82

    Default

    Works like a charm. No problem from here.

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Aug 2003
    Location
    Switzerland
    Posts
    17

    Default

    i have the same problem!
    but i think, i know now the reason...every new subdomain saves the old ip in the httpd.conf! so i have to open this conf file and change the old ip to the new one for every new entry of a subdomain, and then it works.

    my problem is now, where can i change this ip??

    cPanel.net Support Ticket Number:

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2002
    Posts
    136

    Default

    Hi ,

    We have this problem before and we found that the issue resolve from our server is that it is missing the subdomain entry in the httpd.conf file.

    We added back the entry and the subdomain works fine again.

    <VirtualHost serverIP>
    ServerAlias subdomain.domain.com
    ServerAdmin webmaster@subdomain.domain.com
    DocumentRoot /home/Username/public_html/subdomain
    BytesLog domlogs/subdomain.domain.com-bytes_log
    ServerName subdomain.domain.com
    ScriptAlias /cgi-bin/ /home/Username/public_html/subdomain/cgi-bin/
    CustomLog domlogs/subdomain.domain.com combined
    </VirtualHost>

    Hope this help.

    cPanel.net Support Ticket Number:
    Best Regards,


    Andy

  7. #7
    Member
    Join Date
    Aug 2003
    Location
    Switzerland
    Posts
    17

    Default

    thanks for you answer!

    but my problem is diffrent...

    our users can add new subdomains on their cpanel.
    the entry in the httpd.conf is right, but the ip in the header
    <VirtualHost xxx.xx.xx.xx> is everytime wrong!

    so the new subdomain don't work, i have to change this header i.e. to <VirtualHost yyy.yy.yy.yy> and then the new subdomain works.

    so my problem is now, where can i change this ip??
    where is this ip saved?

    when i add a new account the ip is correct. i only have this ip problems with new subdomains...

    is there anyone who knows more about that??

    cPanel.net Support Ticket Number:

  8. #8
    Member
    Join Date
    Sep 2003
    Posts
    11

    Default

    Where do you go to edit the httpd.conf file?

  9. #9
    Registered User
    Join Date
    Jan 2004
    Location
    India
    Posts
    1

    Default

    u can get httpd.conf in /etc/httpd/conf/httpd.conf

Similar Threads & Tags
Similar threads

  1. New subdomain accounts not working
    By eter4 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-26-2010, 06:55 PM
  2. subdomain accounts not working
    By Potato in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-15-2009, 04:06 AM
  3. Replies: 2
    Last Post: 07-24-2007, 09:39 AM
  4. subdomain not working
    By cz1179 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-04-2005, 08:07 AM
  5. subdomain not working!
    By gidechoi in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-23-2002, 08:09 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube