|
|
我换了 LINUX 空间了
一个网站昨天突然访问不了了
我检查了很久 都没有找出问题
怀疑两个方面
1:域名解析 [ping 后发现解析没有错]
2:GD 绑定失效
失效的域名 yibazhang.com
最后我用: game.yibazhang.cn 绑定这个目录 发现访问正常 说明程序没有问题的
请版主帮看看是怎么回事
GD 回了几次信 可能是我理解不对 还是怎么回事 现在还没有解决:
第一次回信:
Thank you for contacting customer support. Upon reviewing your issue it appears your site has no default file. A default file automatically displays when someone browses to a domain name. Take Google, for example. To go to Google, you type google.com. What's the page you see? It's an index.html file. Try it, type google.com/index.html in your browser.
You might have guessed, index.html is a default file. If it's the only default file in the root directory, it automatically displays when someone goes to your domain name.
If you have more than one default file in a directory, the server decides which one takes precedence, and then displays that file. This is called the order of precedence.
Default File Names and Order of Precedence - Windows
This is the order of precedence for the default files on your Windows hosting account:
default.asp
default.html
default.htm
default.aspx
default.php
default.shtml
default.shtm
index.html
index.htm
index.asp
index.php
index.shtml
index.shtm
home.html
home.htm
home.shtml
home.shtm
welcome.html
welcome.asp
NOTE: If ColdFusion is enabled on your Windows hosting account, index.cfm is given top default file precedence.
Default File Names and Order of Precedence - Linux
This is the order of precedence for the default files on your Linux Standard account:
default.html
default.htm
index.php
index.shtml
index.html
index.htm
home.html
home.htm
index.php5
NOTE: If you have ColdFusion enabled, index.cfm and default.cfm take priority 10 and 11, respectively. If you have Java enabled, index.jsp takes priority 10.
welcome.html
welcome.htm
If we can assist you further in this matter please let us know.
Sincerely,
Jesse P
Online Support Team
第二次回信:
Thank you for contacting Online Support.
This domain name is setup to access your root folder. It is not setup to access the directory you are indicating. If you would like it to access the directory you will need to create a site redirect.
A redirect automatically sends your website's visitors to a chosen destination, either a different location within the same site or a new site entirely. For example, you can redirect visitors from your domain root to a content sub-directory, such as a blog.
Content (files and folders) under the redirect path can be redirected to the destination domain root or the same path on the destination domain or not redirected at all.
NOTE: You must have a Linux Hosting plan to redirect your site using the Redirect Manager.
Redirect a site using the Site Redirect Manager
Log in to your Account Manager.
From the Products section, click Web Hosting.
Next to the hosting account you want to use, click Launch.
In the Content section of the Hosting Control Center, click the Site Redirects icon.
Click the New Redirect button. The New Redirect window displays.
Enter the domain you want to redirect. If you want to redirect all of the domains in your hosting account, check the All domains on this account. Otherwise, enter the directories containing the sites you want to redirect in the Path field.
Select whether or not you want all instances of your site with or without .www to be redirected. When you're finished, click Next. The To window displays.
Select if the destination site is http or https and enter the domain name you want to redirect to, as well as the path, if applicable. If the path box is left blank, it will redirect to the root of the domain you entered. Click Next. The Type window appears.
Select which kind of redirect you want to use.
NOTE:Redirects can be permanent (a 301 redirect) or temporary (a 302 redirect). Redirect type is communicated to browsers and search engines through the redirecting site's HTTP response. Search engines treat 301 and 302 redirects differently. For more information on redirect pages see What are 301 and 302 redirect pages?.
Select your content redirect option. This option decides the behavior of your Site Redirect when a visitor goes to a content path of your domain name, such as http://coolexample.com/path.
Match path redirects visitors to the same content path of the target domain name. For example, when a visitor goes to http://coolexample.com/path, they are redirected to http://mycoolestdomains.com/path.
Root redirect redirects visitors to the root of the target domain name, ignoring the content path. For example, when a visitor goes to http://coolexample.com/path, they are redirected to http://mycoolestdomains.com.
No redirect does not redirect visitors when they go to a content path. For example, when a visitor goes to http://coolexample.com/path, they are not redirected and load http://coolexample.com/path.
Your domain will now be redirected with the options you selected. The redirect can take up to 24 hours to be completed. If you want to change or delete your redirect, simply select the redirect and click Edit or Delete in the toolbar.
Please let us know if we can assist you in any other way.
Regards,
Nichole P.
Online Support Team
[ 本帖最后由 abc_gen 于 2010-6-10 09:31 AM 编辑 ] |
|