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

How to rename the http://localhost

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
0
kiran_ch5
Asked:
kiran_ch5
1 Solution
 
prairiedogCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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