iis 6 - How to create subdomain in IIS6 -
i'm quite new configuration of domains , subdomains.
i have subdomain "bar" belongs domain "www.foo.es". when want access subdomain have type "www.foo.es/bar", alright far.
what intend subdominion accessed typing "bar.foo.es".
i've tried things found online none of them worked. tell me how or @ least give me clues or tutorials work?
i'm trying set using iis6 properties (not dynamically, not user thing, subdomain want access "directly".
assuming working live server remote desktop , not shared hosting account here need do:
let's assume file system looks this:
c:\inetpub\wwwroot\www.foo.es { html files in here}
c:\inetpub\wwwroot\www.foo.es\bar {some html files in here}
without custom isapi filters installed, setting 2 website's in iis.
the first website have home directory of c:\inetpub\wwwroot\www.foo.es , 2 host headers "www.foo.es" , "foo.es"
the second website have home directory of c:\inetpub\wwwroot\www.foo.es\bar , 1 host header "bar.foo.es"
once dns has cname of "bar" points server , clear local dns caches, should work. if don't know how make dns change easiest thing can log domain name control panel whoever purchased domain name , following:
add cname record: host enter "bar" points enter "foo.es" , should set.
Comments
Post a Comment