PDA

View Full Version : www.subdomain.mydomain.com not working...



daan
07-31-2005, 11:27 AM
Hi all,

Subdomains are working well, except for the www part.
So, [http://]subdiomain.mydomain.com is working well, but [http://]www.subdomain.mydomain.com is not.

The subdomain was set up through the sitemanager, wich added the following lines to my httpd.conf file:

<VirtualHost *>
ServerName subdomain.mydomain.com
ServerAlias www.subdomain.mydomain.com
DocumentRoot /var/www/html/subdomain
</VirtualHost>

So it seems, the ServerAlias is not working.

I tried setting up a second subdomain "www.subdomain", but that's not working either.

Any ideas?

Thanks in advance.

Best regards,
Daan.

Jonnyb0y
07-31-2005, 01:19 PM
If you can tell me the subdomain name in question I'd be happy to look at it for you. If you aren't comfortable posting it in the forums feel free to PM it to me.

daan
08-01-2005, 02:50 AM
Thanks for the offer Jonnyb0y, but it affects all subdomains.
None of them are working with the 'www.' part added in front of them.

WestHost - SHaderlie
08-01-2005, 11:51 AM
Hello Daan,

If you could PM me with your domain name, I'd be happy to investigate this further for you.

Corrado Fiore
08-02-2005, 03:41 AM
AFAIK, the method of setting two subdomains (i.e. 'www.subdomain' and 'subdomain') via the site manager works fine. I usually create subdomains that way.

Let us know.

Cheers,
Corrado

daan
08-02-2005, 04:13 AM
Thank you, Corrado!

Works like a charm ;-)

I did try that before, but probarbly got fooled by a cached ('not found') page from my ISP.

And of course a thank you to Steven, but my problem is solved now!

Have fun!