Click here to Skip to main content
15,896,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,
I deployed one asp.net mvc website (Windows authentication) using .net framework 4.0. Website url is like http://xxx.xx.xx.xxx/wesitename.(x is Ipaddress).My client says he wants to access the website with url as http://websitename. I deployed website in IIS 6.0 and I did some R & D on IIS setting of host name but still i am not able to get it.

If you guys have any idea then let me know.

What I have tried:

I did some setting change in configuration editor in IIS and other settings but still result is same.
Posted
Updated 29-Mar-16 20:39pm

Hi, you need static IP address, then you need to map your domain to this IP address, so that the requests can be redirected to your server while you access your website through domain name.

If you can setup your own server, just refer this link Setting up your own home web server[^], Or you can try Cloud platforms like Google Cloud, Windows Azure Cloud, Amazon Web Services and IBM Cloud, where you can setup your own server with static IP address.
 
Share this answer
 
If you want your client to access the website with an URL instead of an IP address, then you will have to configure a DNS entry on a DNS server.

Name resolution is a feature of a DNS server, not of a web one.

If your website is hosted outside of your client's network, you have two choices:
- whether you create a DNS record on your public DNS domain (you will have to get one)
- or you create this record on your client's internal DNS

If your website is hosted internally at your client's, then you should add a DNS entry on its internal DNS zone.

You also have the option to add a line in the hosts file of every computer that should access your application.

Hope this helps.
 
Share this answer
 
Comments
RAHUL(10217975) 30-Mar-16 7:18am    
Website is hosted internally at client's server (windows 2008 r2 ,iis 6.0 intranet website) . So, As you said I should add DNS entry on internal DNS zone.
phil.o 30-Mar-16 7:24am    
Yes absolutely. Your client's admins should add an entry in their DNS zone.
RAHUL(10217975) 30-Mar-16 7:34am    
I am new to new to this, I got admin rights of server. can you please suggest steps to add DNS entry in DNS ZONE..
phil.o 30-Mar-16 7:39am    
Managing DNS Records
Moreover, you need admin rights on the domain DNS zone, not on the server. The account you are using has to be a domain account which has been given modification rights on the DNS zone itself.
RAHUL(10217975) 30-Mar-16 8:58am    
Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900