[Last Call] Learn how to a build a cloud-first strategyRegister Now


How to rename the http://localhost

Posted on 2005-05-05
Medium Priority
Last Modified: 2008-02-26
Right now any one in my company can access my local website  as
http://kiran.cyzcorp.com/test.aspx when they enter their username and password, where kiran.cyzcorp.com is my local webserver/Machine  name

When I run test.aspx in my Asp.net project...
it is picking as http://localhost/test.apsx during visualstudio.net debug mode,
how can I make it http://kiran.cyzcorp.com/test.aspx  during  visualstudio debug mode

The reason why I want this is I have a Company Authentication DLL which authenticate users to see company Intranet website. and that DLL is working only when the site domain has cyzcorp.com in it.. and if it is http://localhost, it is not working
Question by:kiran_ch5
1 Comment
LVL 22

Accepted Solution

prairiedog earned 400 total points
ID: 13941595
You need a static IP, and register your machine name ( kiran.cyzcorp.com) with that static IP. Your system administrator should be able to help you do this. Otherwise, you have to give user your actual IP address to access your website like this: http://xxx.xxx.xxx.xxx/test.aspx, in which xxx.xxx.xxx.xxx is your machine's IP address. After you have a static IP, your machine name can be resolved with the IP address, so your user can use http:// kiran.cyzcorp.com/test.aspx to access your website instead of using IP address.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question