Assigning domain name to IIS site

Hi There,

I have recently added a new site within IIS and I can navigate fine to the site you http://localhost/IISsitename or http://webserver-name/IISsitename. When I attempt to edit the bindings via IIS and add a host name for example, 'abc.com.au' as the host and assign it to port 1000, however when navigating to http://abc.com.au:1000 using a browser (internally) the site fails to load and I within the network. At the moment I am only wanting to access the site internally and I have also setup the DNS 'A' record and its correctly pointing to the IP address of the web server.  

Any suggestions anyone has would be greatly appreciated.

Thanks in advance.
A

Adma1Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

EyalCommented:
does telnet abc.com.au 1000 works?
if not working check your firewall

also try to ipconfig /flashdns
Adma1Author Commented:
Ok, thsnks for the tip there shouldnt be any firewalls between the client machine snd the webserver apart from the windows firewall. I will test the telnet connection and let you know how i get on.

Thanks
A
Brad HoweDevOps ManagerCommented:
Hi,

A. SITE BINDINGS
1. Open the command prompt by clicking the start menu and typing “cmd” and hitting enter.
2. Navigate to C:\Windows\System32\Inetsrv\ by typing “cd C:\Windows\System32\Inetsrv\” on the command line.
3. In the Inetsrv folder, run the following command

   appcmd set site /site.name:"YOUR WEB SITE NAME" /+bindings.[protocol='http',bindingInformation='*:1000:abc.com.au']

B. DNS lookup check
 1. Open CMD and run the following
     nslookup www.domain.com Does this yield your WAN IP or Local IP?
     nslookup domain.com.          Does this yield your WAN IP or Local IP?

B. Firewall Check
 1. As mentioned above, open a CMD prompt and type "telnet abc.com.au 1000"
    Screen go black, firewall is open.
    Screen says failed to connect, firewall is closed.
 
  Do this from both INTERNAL Network using the LAN IP and from an external network PC using the WAN IP.

If i had to guess, it is a mix of split DNS meets firewall since you are using a non standard port. If this is true, you will need to create a blank A RECORD under a forward lookup zone.

This will be a Forward lookup A Record in your local Domain zone. To create a host or "A" record:

1. Start the DNS snap-in.
2. Click the DNS Server object for your server in the left pane of the console, and then expand the server object to expand the tree.
3. Expand Forward Lookup Zones.
4. Under Forward Lookup Zones, right-click the zone that you want (for example, abc.com.au), and then click New Host (A).
5. In the Name (uses parent domain name if blank) box, type the name of the host that you want to add.
   For example, if you want to add a host record for a Web server, type mysite. And In the IP address box, type the IP address
   of the host that you want to add. For example, type 192.168.1.161.

6. Select the Create associated pointer (PTR) record check box, and then click Add Host. You receive a message similar to the following:
7. The host record abc.com.au was successfully created.
8. Click OK.

Let us know,
Cheers,
Hades666

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Johnson, CD, MVPOwnerCommented:
Adma1Author Commented:
Thanks for your advise it turned out to be a firewall and DNS issue.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.