Web Hosting Talk







View Full Version : subdomains issue


jolo2
09-02-2004, 03:12 AM
I just moved to a new server. Here is the scenario :


In the old server I have :(before the transfer)

www.mydomain.com
stone.mydomain.com <-- this was created on the WHM by entering stone.mydomain.com not using the cpanel of mydomain.com and it does work.


In the new server :

I transfered www.mydomain.com using whm transfer tool. This is okay.

Then I did transfer stone.mydomain.com and it was transferred too.

now the problem i'm currently facing is the subdomain is showing differently.

stone.mydomain.com does not show its file. All im seeing is the default folder like cgi-bin while mydomain.com/~stone is correct but remember I did not create a subdomain inside mydomain.com rather It was created using whm since url stone.mydomain.com is for my client.

I need help. I think I need to manually edit a file on the server.

Angelo
09-02-2004, 04:22 AM
Check Apache configuration file to see where stone.domain.com is located by its DocumentRoot.

# locate httpd.conf

Mr.TOXIC
09-02-2004, 09:43 AM
Make sure that mydomain.com/~stone is resolving to the new server, if yes..then double check the username under which the subdomain stone.mydomain.com have been setup on new server and make sure that DocumentRoot has been set correctly.
For cpanel server the path to httpd.conf would usally be
/usr/local/apache/conf httpd.conf