为什么我无法通过域名访问我的网站?它只能通过 IP 地址访问

为什么我无法通过域名访问我的网站?它只能通过 IP 地址访问

以前我们网站没有合适的域名,现在我已经注册了一个合适的域名,但是现在遇到了以下问题:

  1. 如果我去,https://46.144.46.214/ita我可以毫无问题地访问门户;
  2. 如果我去https://ita.telvent-netherlands.com/ita我在 Internet Explorer 中遇到了超时问题。
  3. 但如果我去https://ita.telvent-netherlands.com/我看到我已访问 IIS 服务器,因此 DNS 正在运行。

您知道我怎么可能通过 IP 而不是名称访问它吗?我需要通过域名访问它。提前谢谢您。

答案1

您遇到了重定向循环。

$ wget --no-check-certificate https://ita.telvent-netherlands.com/ITA
--2012-09-04 23:33:44--  https://ita.telvent-netherlands.com/ITA
Resolving ita.telvent-netherlands.com (ita.telvent-netherlands.com)... 46.144.46.214
Connecting to ita.telvent-netherlands.com (ita.telvent-netherlands.com)|46.144.46.214|:443... connected.

WARNING: The certificate of `ita.telvent-netherlands.com' is not trusted.
WARNING: The certificate of `ita.telvent-netherlands.com' hasn't got a known issuer.

HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://ita.telvent-netherlands.com/ITA/ [following]

--2012-09-04 23:33:46--  https://ita.telvent-netherlands.com/ITA/
HTTP request sent, awaiting response... 302 Found
Location: /ITA/Login.aspx?action=timeout [following]

--2012-09-04 23:33:46--  https://ita.telvent-netherlands.com/ITA/Login.aspx?action=timeout
HTTP request sent, awaiting response... 302 Found
Location: /ITA/Login.aspx?action=timeout [following]

--2012-09-04 23:33:46--  https://ita.telvent-netherlands.com/ITA/Login.aspx?action=timeout
HTTP request sent, awaiting response... 302 Found
Location: /ITA/Login.aspx?action=timeout [following]

...

Continues until web browser gives up...

https://ita.telvent-netherlands.com/ITA/Login.aspx?action=timeout似乎正在无限循环地重定向至其自身。

相关内容