How to rename the http://localhost

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

When I run test.aspx in my project...
it is picking as http://localhost/test.apsx during debug mode,
how can I make it  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 in it.. and if it is http://localhost, it is not working
Question by:kiran_ch5
    1 Comment
    LVL 22

    Accepted Solution

    You need a static IP, and register your machine name ( 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:, in which 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:// to access your website instead of using IP address.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
    Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now