如何创建IP地址的URL [英] how to create URL insted of IP Address

查看:143
本文介绍了如何创建IP地址的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



我在asp.net中创建了一个Web应用程序#...它运行良好。



最后我使用IIS在我的本地服务器上托管。



因此我们公司将使用IP地址访问此应用程序

10.132.56.6



但是我们不想输入我们在浏览器中键入一些字母表所需的IP地址(我们的意思是像URL)www。 UtechTrading.com或者喜欢这个http:\\utechtrading.com



请帮助我,如何制作网址..顺便说一句,我们使用的是IIS 7和windows server 2008.



请帮忙谢谢。

Hi Friends,

I have Created a Web Application in asp.net c#...its working well.

finally I have hosted in my local server using IIS.

so this application will be accessed by our company using the IP address as
10.132.56.6

but we dont want to type the IP address we need to type some alphabets in the browsers(We mean like URL) www.UtechTrading.com or like this http:\\utechtrading.com

Please help me, how to make a url..by the way, we are using IIS 7 and windows server 2008.

Please help THANKS.

推荐答案

鉴于IP地址,我是假设它是一个内部托管的网站。



假设您的所有客户都是Windows PC,那么黑客将包含文本
Given the ip address, I am assuming its an internally hosted website.

Assuming all your clients are windows PC, a hack would be to include the text
10.132.56.6   www.UtechTrading.com 

(位置取决于操作系统)。这会将所有IP请求重定向到列出的网站。



或者,在DNS服务器中创建映射以将www.UtechTrading.com映射到IP 10.132.56.6 < br $> b $ b



希望这会有所帮助。



干杯,

in the HOSTS file (location depends on OS). This will redirect all the IP requests to the listed website.

Alternatively, Create a mapping in your DNS server to map www.UtechTrading.com to IP 10.132.56.6


hope this helps.

Cheers,


这篇关于如何创建IP地址的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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