URGENT- WWW Problem
Discussion
Help!!
Out of my skills range here, so I'm posting on behalf of a colleague:
His website has gone down. Well, sort of.
You can no longer type in www.mysite.com as it comes back with a 404. However, if you drop the www and just put in http://mysite.com it works fine.
Any idea whats wrong? I'm
Many thanks,
Greg
PS - this is a commercial site, hence the urgency.
Out of my skills range here, so I'm posting on behalf of a colleague:
His website has gone down. Well, sort of.
You can no longer type in www.mysite.com as it comes back with a 404. However, if you drop the www and just put in http://mysite.com it works fine.
Any idea whats wrong? I'm
Many thanks,
Greg
PS - this is a commercial site, hence the urgency.
If the server is UNIX using Apache...
In the config file httpd.conf
There is a ServerAlias directive
Syntax ServerAlias hostname [ ...alternatives ]
example using pistonheads domain :
ServerAlias www.pistonheads.com pistonheads.com
so both with the www and without work !
Once changes are made reboot your server and it should work.
>> Edited by robertuk on Thursday 4th March 16:00
>> Edited by robertuk on Thursday 4th March 16:01
In the config file httpd.conf
There is a ServerAlias directive
Syntax ServerAlias hostname [ ...alternatives ]
example using pistonheads domain :
ServerAlias www.pistonheads.com pistonheads.com
so both with the www and without work !
Once changes are made reboot your server and it should work.
>> Edited by robertuk on Thursday 4th March 16:00
>> Edited by robertuk on Thursday 4th March 16:01
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff



