hi
i have a problem with error on domains and alias domains
if i have a domain www.example.com
i want that all visits coming on aaa.example.com or *.example.com arrive on www.example.com
i put a index.php in default conf for reading url and give a link to the www.example.com
ok...that's works
but
if visits are coming on *.example.com/pagezzz.html (with pagezzz.html doesn't exist) , i have a beautiful page error with :
Not Found
The requested URL /pagezzz.html was not found on this server.
Apache Server at *.example.com Port 80
WHERE IS THIS ERROR PAGE PLEASE ?
is it generated by apache ou plesk? i can't find it to modify it...
i tried another method
i put vhost.conf in conf directory ("ServerAlias *.example.com)
this time the server accepts all *.example.com (not a good thing...yet) but it's the same thing for all pages of the site even if the subdomain doesn't exist... all links not direct (as ../page1.html) are viewed as *.example.com/page1.html....
it's not good for google, it's duplicate content...i want a error page even on theses pages...
But the good thing of this method is if *.example.com/pagezzz.html is not found, i have my error page with my script to redirect on my www.example.com...
i want this error page for all pages when the subdomains doesn't exist...
What do you think about that ?
has someone a solution ?
please support parallels...
i have a problem with error on domains and alias domains
if i have a domain www.example.com
i want that all visits coming on aaa.example.com or *.example.com arrive on www.example.com
i put a index.php in default conf for reading url and give a link to the www.example.com
ok...that's works
but
if visits are coming on *.example.com/pagezzz.html (with pagezzz.html doesn't exist) , i have a beautiful page error with :
Not Found
The requested URL /pagezzz.html was not found on this server.
Apache Server at *.example.com Port 80
WHERE IS THIS ERROR PAGE PLEASE ?
is it generated by apache ou plesk? i can't find it to modify it...
i tried another method
i put vhost.conf in conf directory ("ServerAlias *.example.com)
this time the server accepts all *.example.com (not a good thing...yet) but it's the same thing for all pages of the site even if the subdomain doesn't exist... all links not direct (as ../page1.html) are viewed as *.example.com/page1.html....
it's not good for google, it's duplicate content...i want a error page even on theses pages...
But the good thing of this method is if *.example.com/pagezzz.html is not found, i have my error page with my script to redirect on my www.example.com...
i want this error page for all pages when the subdomains doesn't exist...
What do you think about that ?
has someone a solution ?
please support parallels...