• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

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

0
Adma1
Asked:
Adma1
1 Solution
 
EyalCommented:
does telnet abc.com.au 1000 works?
if not working check your firewall

also try to ipconfig /flashdns
0
 
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
0
 
Brad HoweCommented:
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
0
 
David Johnson, CD, MVPOwnerCommented:
0
 
Adma1Author Commented:
Thanks for your advise it turned out to be a firewall and DNS issue.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now