I have prepared an Intranet Website using ASP.Net. Presently if somebody wants to view this website he can view with the adress like http://<ipaddress>/<pagename.aspx> but I want the user to view the page by
the adress like http://www.<websitename>.com or any similar name which should not use the ip adress.
I am using IIS 5.1, how to achieve this. Please note that this is a purely intranet website.
Thanks in Advance ;-)
===============
Subhash Dike
http://coolsubhash-tech.blogspot.com
Make sure you Mark a reply as Answer if it helps.. It will help others as well
You can use the system name, for example if your computer name was "Bob" you could browse to
http://bob/ and see the site. Otherwise you'll need to add a DNS entry for the host name pointing to the IP of your web server. That's basic Windows DNS administration, check a DNS reference or your network admin for help in configuring
it. Might also look at:
Thank you very much for the help. I solved the problem in the following way.
I wrote website header name what I wanted like "Myweb". Then I made a simple exe file using C which makes the host entry of this word against the server ip. And I requested all users to run this exe only once before running the website.
Thanks again
===============
Subhash Dike
http://coolsubhash-tech.blogspot.com
Make sure you Mark a reply as Answer if it helps.. It will help others as well
here is another way,
1) you need to find the file "hosts" (most probably located at c:\windows\system32\drivers\etc\) through windows search. It is without an extension.
2) Then you need to add a line of text like this
127.0.0.1 www.myweb.com
3) 127.0.01 is the IP of the computer on the intranet. The url is whatever domain you want people to use.
4) You could also do something similar by configuring your router. Every router works differently. I was just playing around with mine and I saw how to do it.
For me, could anyone tell me how I can enable my computer for asp? I have an asp page in IIS but everytime I go there my computer wants me to download it or save. That is pointless.
"For me, could anyone tell me how I can enable my computer for asp? I have an asp page in IIS but everytime I go there my computer wants me to download it or save. That is pointless. "
What OS you are running ? check the application mapping, is ASP extension listed?
i am running XP professional. what is application mapping?
Also, there is something i noticed in the user accounts in control panel that aspnet account is not there. I reinstalled .net framework and it appeared but then vanished again.
Application mapping is where the ASP extension maps to the ASP.DLL that handles it. In your web site properties, Home Directory tab, Configuration button.
ASP and ASP.NET are not the same. For either one you don't need to "enable" them in XP. ASP runs by default, ASP.NET requires the .NET Framework. Might try re-registering the .NET framework. If you have trouble with that, continue with your existing thread
in the ASP.NET forums.
Yes, check the app mapping setting as pointed out by Jeff. do you see .asp .asa mapping in the list? Go to other IIS machine and recreate the mapping config
subhashdike
0 Posts
How to Name Intranet Website
May 26, 2005 05:43 AM|LINK
I have prepared an Intranet Website using ASP.Net. Presently if somebody wants to view this website he can view with the adress like http://<ipaddress>/<pagename.aspx> but I want the user to view the page by the adress like http://www.<websitename>.com or any similar name which should not use the ip adress.
I am using IIS 5.1, how to achieve this. Please note that this is a purely intranet website.
Thanks in Advance ;-)
Subhash Dike
http://coolsubhash-tech.blogspot.com
Make sure you Mark a reply as Answer if it helps.. It will help others as well
===================
tomkmvp
7657 Posts
MVP
Moderator
Re: How to Name Intranet Website
May 26, 2005 12:25 PM|LINK
http://mvp.support.microsoft.com/
jeff@zina.co...
3379 Posts
MVP
Moderator
Re: How to Name Intranet Website
May 26, 2005 04:36 PM|LINK
http://www.iisanswers.com/dns_for_iis.htm
Jeff
subhashdike
0 Posts
Re: How to Name Intranet Website
Jun 18, 2005 04:10 AM|LINK
Thank you very much for the help. I solved the problem in the following way.
I wrote website header name what I wanted like "Myweb". Then I made a simple exe file using C which makes the host entry of this word against the server ip. And I requested all users to run this exe only once before running the website.
Thanks again
Subhash Dike
http://coolsubhash-tech.blogspot.com
Make sure you Mark a reply as Answer if it helps.. It will help others as well
===================
Nas Hashmi
0 Posts
Re: How to Name Intranet Website
Jun 18, 2005 08:34 PM|LINK
1) you need to find the file "hosts" (most probably located at c:\windows\system32\drivers\etc\) through windows search. It is without an extension.
2) Then you need to add a line of text like this
127.0.0.1 www.myweb.com
3) 127.0.01 is the IP of the computer on the intranet. The url is whatever domain you want people to use.
4) You could also do something similar by configuring your router. Every router works differently. I was just playing around with mine and I saw how to do it.
For me, could anyone tell me how I can enable my computer for asp? I have an asp page in IIS but everytime I go there my computer wants me to download it or save. That is pointless.
qbernard
5016 Posts
MVP
Moderator
Re: How to Name Intranet Website
Jun 19, 2005 11:58 AM|LINK
What OS you are running ? check the application mapping, is ASP extension listed?
Bernard Cheah
Nas Hashmi
0 Posts
Re: How to Name Intranet Website
Jun 21, 2005 12:27 AM|LINK
i am running XP professional. what is application mapping?
Also, there is something i noticed in the user accounts in control panel that aspnet account is not there. I reinstalled .net framework and it appeared but then vanished again.
jeff@zina.co...
3379 Posts
MVP
Moderator
Re: How to Name Intranet Website
Jun 21, 2005 08:29 PM|LINK
ASP and ASP.NET are not the same. For either one you don't need to "enable" them in XP. ASP runs by default, ASP.NET requires the .NET Framework. Might try re-registering the .NET framework. If you have trouble with that, continue with your existing thread in the ASP.NET forums.
Jeff
qbernard
5016 Posts
MVP
Moderator
Re: How to Name Intranet Website
Jun 22, 2005 08:11 AM|LINK
Yes, check the app mapping setting as pointed out by Jeff. do you see .asp .asa mapping in the list? Go to other IIS machine and recreate the mapping config
Bernard Cheah