how to set up domain name, bad request invalid hostname

Posted by user45645 on Server Fault See other posts from Server Fault or by user45645
Published on 2010-06-12T07:22:51Z Indexed on 2010/06/12 7:33 UTC
Read the original article Hit count: 224

Filed under:
|

assume i have a domain name which will be forwarded to my public ip (web server) automatically.

in IIS 6, ip is public ip port is 6666, advanced -> host value is www.hello.com

firewall is open for 6666(web server port) and 53(DNS port), DMZ of router is my physical address

in DNS, i have already had a zone called oldhello.com. And i expect a new domain name. So i have addded a new zone called hello.com and checked SOA server (P) is one.hello.local. then added a new host called one, full name is one.hello.com, ip address 192.168.7.3(my address in router) and then add a alias(CNAME) www, full name is www.hello.com, FQDN i choose the host i added before (one.hello.com)

i expected that when i type the public ip in browser, can it be changed to domain name automatically.

if not set host value www.hello.com, use public ip i can see the web

however, after set up host value www.hello.com, browser show bad request invalid hostname

© Server Fault or respective owner

Related posts about dns

Related posts about iis6