eraser
25th December 2007, 13:48
Howdy all,
Now i know this has been asked a billion times and i looked through the previous posts on the subject, but i want a straight answer and fix.
First thing i have a wildcard Aname dns entry to anythign.example.com resolves to my hosts ip.
On previous webservers i have used if i typed; blah.example.com it would say blah.example.com in the address bar but on the backend would just look for the directory blah in the example.com and present that, if no directory was found normal 404 error would appear. And if you wanted blah.example.com/images the backend would be grabbing www/www.example.com/blah/images/.
But as it stands right now blah.example.com is getting sent to the shared ip default page.
I have tried googling this topic as well but i dont really understand what people call it, (virtual host subdomains?).
Im sorry if i have skipped over this in the manual etc.
Thanks in advance.
-Marc
Now i know this has been asked a billion times and i looked through the previous posts on the subject, but i want a straight answer and fix.
First thing i have a wildcard Aname dns entry to anythign.example.com resolves to my hosts ip.
On previous webservers i have used if i typed; blah.example.com it would say blah.example.com in the address bar but on the backend would just look for the directory blah in the example.com and present that, if no directory was found normal 404 error would appear. And if you wanted blah.example.com/images the backend would be grabbing www/www.example.com/blah/images/.
But as it stands right now blah.example.com is getting sent to the shared ip default page.
I have tried googling this topic as well but i dont really understand what people call it, (virtual host subdomains?).
Im sorry if i have skipped over this in the manual etc.
Thanks in advance.
-Marc