更改Web应用程序的URL名称 [英] change url name of web application

查看:106
本文介绍了更改Web应用程序的URL名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个Web地址并使用IIS在我的办公室本地服务器上发布。

但问题是该网站的网址如http:/ 10.3.7.84/sud/home的.aspx。我想将此名称更改为http://www.sud.com。











请帮忙我。如果你有任何解决方案










问候

sudhakar.b

解决方案





我认为你正在搜索这个

将你的localhost名称更改为域名。

转到此路径。 

文件路径 - > C:\ WINDOWS \ system32 \drivers \ etc
这是hosts文件的示例
127.0.0.1 localhost loopback
:: 1 localhost
127.0.0.1 localhost
127.0.0.1 www.sud.com



现在重新启动你的服务器,它应该工作。现在与你的团队分享,

希望它对你有所帮助。



问候,

RK


你需要配置将IP映射到站点URL的DNS。我不是这个领域的专家。我认为这并不像听起来那么容易。如果您的计算机数量有限,那么您可以将此maping放入hosts文件中。但这需要在每台机器上完成。


为此,您需要拥有一个顶级域sud,此时可能有也可能不可用。您可以随时查看并从您的网络托管服务提供商处获取域名(或免费获得一些付费托管计划),然后将您的DNS指向您的网站。



让我检查一下......哦,已经采取了。如果是你的,请让你的托管服务提供商为你的网站设置DNS,如果没有 - 太晚了,你无能为力。



-SA

i have created a web allication and published in my office local server using IIS.
but the problem is that the url of that site is like http://10.3.7.84/sud/home.aspx. i want to change this name as simply "http://www.sud.com".





please help me .if u hav any solution





regards
sudhakar.b

解决方案

Hi,

I think you are searching for this
change your localhost name to domain name.

Go to this path.

File Path-> C:\WINDOWS\system32\drivers\etc
This is an example of the hosts file
127.0.0.1 localhost loopback
::1 localhost
127.0.0.1 localhost
127.0.0.1 www.sud.com


Now restart your server, it should work.Now share with your team,
Hope it helps you a bit.

Regards,
RK


You need to configure DNS which will map IP to site URL. I am not an expert in this field. I think this is not as easy as it sounds. If you have a limited number of computers then you can put this maping in hosts file. But this needs to be done in each and every machine.


To do so, you need to own a top-level domain "sud", which may or may not be available at this time. You can always check it and get a domain from your Web hosting provider for fee (or free of charge with some payed hosting plan), and then the your the make DNS pointing to your site.

Let me check… oh, it is already taken. If it is yours, ask your hosting provider to setup DNS for your site, if not — too late, nothing you can do.

—SA


这篇关于更改Web应用程序的URL名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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