从托管服务器访问具有域名的网站 [英] Access a website with domain name from the hosted server

查看:150
本文介绍了从托管服务器访问具有域名的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在IIS服务器上托管了一个安全的网站,即



https://xxxxx.com/virtual目录/ .....



我可以从其他任何地方访问这个网站。

但不是来自网站所在的服务器托管。



如何在本地访问该网站。



这是一个旧的Web服务项目,我需要在同一服务器上托管的另一个网站中引用asmx页面。



提前谢谢。

Hi,
I have hosted a secured website in IIS server namely

https://xxxxx.com/virtual directory/.....

I can be able to access this site from anywhere else.
But not from the server where the site is hosted.

How to access the site locally.

This is a old web service project and I need to refer the asmx page in another website which is also hosted in the same server.

Thanks in advance.

推荐答案

我在驱动程序/ etc / hosts文件中添加了一个条目,将dns重定向到iis。



这解决了我的问题。
I have added an entry in driver/etc/hosts file to redirect the dns to iis.

This solved my problem.


这篇关于从托管服务器访问具有域名的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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