网站运营
位置:首页>> 网站运营>> GoDaddy从我的旧服务器的域名服务器重新定位前,能在我的新托管帐户上运行脚本吗

GoDaddy从我的旧服务器的域名服务器重新定位前,能在我的新托管帐户上运行脚本吗

 来源:asp之家 发布时间:2010-04-13 12:54:00 

标签:GoDaddy,常见问题,服务器,域名服务器

有GoDaddy用户问“从我的旧服务器的域名服务器重新定位前,能在我的新托管帐户上运行脚本吗?”答案是否定的,此时还没有到服务器的真实路径,但是你可以使用文本编辑器如记事本给你的电脑的host file添加IP地址及网站名称。一旦你更改你的host file后,你可以在make it live on the Internet预览你的网站。在你的host file里的独立的一行添加新的条目。按照那些IP地址及域名的条目的顺序进行。

常用的操作系统的host file路径:

• Linux: /etc/hosts

• Macintosh OS X: /etc/hosts

• Macintosh OS 9: In System Folder>Preferences, in the System Folder, see if you have a "Hosts" file. If not, create one in a text editor.

• WindowsXP Home: C: \windows \system32 \drivers \etc \hosts

• Windows NT/2000/XP Pro: c: \winnt \system32 \drivers \etc \hosts

• Windows 95/98/Me: c: \windows \hosts

注: 域名传播后,务必从你的HOSTS文档里去除该条目,因为如果你以后更改计划或者服务器,你将不能看到你的站点。

NOTE: 我们不容忍或者支持更改你的系统文档,这么做你是要冒风险的。

0
投稿

猜你喜欢

手机版 网站运营 asp之家 www.aspxhome.com