网站运营
位置:首页>> 网站运营>> GoDaddy:有关运行脚本问题 Godaddy

GoDaddy:有关运行脚本问题 Godaddy

 来源:asp之家 发布时间:2010-04-10 12:48: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