Question

i have adsl modem with static ip for example (2.180.180.4), i set port forwarding dsl modem to my local server with 192.168.1.1, with port 80. it mean i can access to my web page hosted on iis with requesting blow address to browser

 http://2.180.180.4:80

now i have domain like abc.com, i want to set dns (domain name sever) of domain what i must set on dns? i have windows server 12 on my server what i must do on it to windows handle my request with my domain name?

Was it helpful?

Solution

first think u need nameserver ex: ns1.domain.com ( you can set it in your domain registrar company ) second dns manager on your windows 2012 , setup dns service and set your ns1.domain.com on your local IP 192.168.1.103 . next add A record to * and Empty and www to localIP 192.168.1.103 , now dns is oky

next go to iis and add bind domain.com to your website under your iis

don't forget add portforwarding 53 in your modem adsl to your localip port 53.

all is done and enjoy your home host company

OTHER TIPS

Sure so let's start with the IIS: Right click This PC (Previously my Computer) and choose manage. Go to Services and Applications => Internet information Services => Sites, Right click on the site and click Bindings => Add your Hostname for port 80. Now the Registar: Go to your register or your DNS management service: Go Daddy, Namecheap, Amazon Route53 etc'. And add a new a record - Choose the domain and add the Static IP Value - This might take about 24 to be applied in the entire world but usually it happens within a few hours depending on your service provider.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top