如何为我的网站命名别名 [英] How to give Alias name for My Website

查看:97
本文介绍了如何为我的网站命名别名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经将我的ASP.Net站点部署在我们的其中一台IP格式的服务器中.所以,我过去常常像...那样浏览它.
http://xx.xx.xx.xx/MySite
但是,我想退出该IP并提供一些文本.我该如何实现.
另外,我无法更改主机别名.
谢谢
Sreenath.

Hi,
I have deployed my ASP.Net Site in one of our server which is in ip format. So, I used to browse it like…
http://xx.xx.xx.xx/MySite
But, I want to get out of this IP and give some text. How can I achieve this.
Also, I can’t change the Host alias name.
Thanks
Sreenath.

推荐答案

以下链接可能会帮助您:
IP地址,主机名和域名

如果我误解了您的问题,请随时纠正我.希望以上信息对您有所帮助.如果您还有其他顾虑,请告诉我.

如果这对您确实有帮助,请不要忘记接受投票并做出接受的答复.
The following link may help you out:
IP Addresses, Host Names, and Domain Names

If i misunderstand your question, please feel free to correct me.I hope the above information will be helpful. If you have more concerns, please let me know.

If this would be really helpful to you then don''t forgot to Vote and Make Answer as Accepted.


如果此IP地址在您的Intranet中,则只需修改本地计算机的主机文件即可实现此目的.但是,对于为公共IP实现此目标的过程,我不确定.

主机文件位于Windows文件夹下的"\ System32 \ drivers \ etc"文件下.

要使用IIS进行此操作,您可以按照以下说明进行操作.
1.在"inetmgr"中选择适当的网站
2.查找并单击绑定"
3.编辑已在其中指定IP地址的现有条目.
4.在编辑站点绑定"对话框中添加主机名".
5.单击确定",然后单击关闭"

希望对您有所帮助!
If this IP address is in your intranet, then you can simply modify your local machine''s hosts file to achieve this. Not sure about the procedure to achieve this for a public IP though.

The hosts file reside under "\System32\drivers\etc" file under your windows folder.

To do this using IIS, you can follow instructions below.
1. Select appropriate web site in "inetmgr"
2. Find and click "Bindings"
3. edit the existing entry, where you have specified the IP address.
4. Add "Host Name" in the "Edit site binding" dialog.
5. Click "Ok" and then "close"

Hope this helps !


这篇关于如何为我的网站命名别名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆