PHP3 giving 406 errors without the www. but..

mousepotatoe

Active Member
Dec 17, 2003
36
0
156
I have a new client whos' website I have restored from a full backup.
The site uses php3 files and runs fine with the www. in the url.
However when you access the site just with http://domain.com/whatever.php3 it is giving 406 errors.

Any ideas what would allow the pages to display properly with www. in the url, but not without the www.? What do i need to change?

Thanks for your help!!
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
Please make sure that you have the below entry in your httpd.conf file for your domain:

ServerName domain.tld
ServerAlias www.domain.tld