actguys

Member
Sep 28, 2002
5
0
151
Hello Guys,

One of my client have a domain named alphabrocent.com

and two subdomains under it.

forum.alphabrocent.com
personal.alphabrocent.com


Both of the domains are not working


I am including the zone file entry for the domain.


alphabrocent.com. NS ns1.abchosting.com.
alphabrocent.com. NS ns2.abchosting.com.

alphabrocent.com. A xxx. 125. 227. 94
localhost.alphabrocent.com A xxx. 125. 227. 94

ftp.alphabrocent.com. CNAME alphabrocent.com.
mail.alphabrocent.com. CNAME alphabrocent.com.
www.alphabrocent.com. CNAME alphabrocent.com.

alphabrocent.com. MX 10 mail.alphabrocent.com

personal A xxx. 125. 227. 94
forum A xxx. 125. 227. 94


Any one could help what could be wrong ???
 

actguys

Member
Sep 28, 2002
5
0
151
NameVirtualHost xxx.125.227.94:80


&VirtualHost xxx.125.227.94&
ServerAlias www.alphabrocent.com alphabrocent.com
ServerAdmin [email protected]
DocumentRoot /home/demo/public_html
BytesLog domlogs/alphabrocent.com-bytes_log
User demo
Group demo
ServerName www.alphabrocent.com
CustomLog domlogs/alphabrocent.com combined
Options -ExecCGI -Includes
ScriptAlias /cgi-bin/ /home/demo/public_html/cgi-bin/
&/VirtualHost&

&VirtualHost xxx.125.227.94&
BytesLog domlogs/personal.alphabrocent.com-bytes_log
User demo
Group demo
ServerName personal.alphabrocent.com
ServerAdmin [email protected]
DocumentRoot /home/demo/public_html/personal
CustomLog domlogs/personal.alphabrocent.com combined
ScriptAlias /cgi-bin/ /home/demo/public_html/personal/cgi-bin/
&/VirtualHost&

&VirtualHost xxx.125.227.94&
BytesLog domlogs/forum.alphabrocent.com-bytes_log
User demo
Group demo
ServerName forum.alphabrocent.com
ServerAdmin [email protected]
DocumentRoot /home/demo/public_html/forum
CustomLog domlogs/forum.alphabrocent.com combined
ScriptAlias /cgi-bin/ /home/demo/public_html/forum/cgi-bin/
&/VirtualHost&
 

manokiss

Well-Known Member
Mar 31, 2002
576
1
318
same problem here

Hi, i have exactly same problem the subdomains dont work and the info in http.conf is there.

Any news about this please.

Thanks in advance
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
I just noticed it's doing that on mine also. One of my sites has 3 subdomains that existed for a while now. I just found out that when I go to them as subdomains, I just get directed to the main page. I have to go to them as directories of the main domain to get to them.
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
Cpanel says I have no subdomains. I create one and it says it exists. I manually deleted the subdirectory then tried to create it again and it still says it exists.

I guess I have to figure out what files to manually edit to get the subdomains working. My updates are set for stable.

The format mainsite.com/subdomain works, but subdomain.mainsite.com goes to the mainsite.com page. The subdomains were working a few days ago.
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
My server provider fixed mine.

In my case the DocumentRoot line stopped after the public_html. It didn't have the subdirectory next. Somehow that got removed from each of the subdirectory entries for that one site.