开发者

How to give Alias name for My Website

开发者 https://www.devze.com 2023-02-13 15:56 出处:网络
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

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 na开发者_如何学编程me.


you can add name for ip address in file [windows directory]/system32/drivers/etc/hosts but it works only on local machine. If you want solution for network, you should have access to DNS server


Your server definitely has a name. You can use this name to access your site instead of ip address. smth like http://myserver/MySite

Thanks, Arty

0

精彩评论

暂无评论...
验证码 换一张
取 消