免费空间架设WordPress
第一次弄,当时未截图和记录,凭记忆写下过程。
一、找免费空间
1、注册:免费空间很多,网上搜索一大堆,我是在http://www.my219.cn/中看到的介绍,就选择了http://gofreeserve.com/ ,注册过程不细说了,注册过程中我填写了子域名lzlh,但是后来在ControlPanel中看不到,不知道什么原因,也因此让我绕了不少弯路。注册完后,系统会发一封邮件,告诉你一些参数,具体为:
————————————————–
Control Panel Password: kaixin00Your URL: http://lzlh.gofreeserve.com
FTP Server: ftp.gofreeserve.com
FTP Login: gofre_4740000
FTP Password: 123456
MySQL Database Name: Create in control panel
MySQL Username: gofre_4740000
MySQL Password: 123456
MySQL Server: See the control panel
POP3 Server: mail.gofreeserve.com
POP3 Username: gofre_4740000
POP3 Password: 123456
To activate pop services on your account an add-on OR parked domain must be added to the account. If you want a free domain to activate your POP3 mail account you can grab a free .co.cc domain here: http://gofreeserve.com/exurl.php?gofree=co.cc
Control Panel URL: http://cpanel.gofreeserve.com
—————————————————
2、然后通过ControlPanel创建一个数据库(Database Management:MySQL Databases),见下图1、图2:
记住创建的database-name,例如我的是gofre_4740000_WordPress。
3、创建子域名:我之前创建的lzlh找不到了,没想明白,干脆再创建个子域名,点击Sub-Domains即可创建,创建完成后再点击SitBuilder创建站点,会出现向导,需要三步即可创建,但这样创建后的站点不是博客,需要删除其中的文件。见下图
4、通过在线文件管理,删除/hxsh.gofreeserve.com/htdocs目录内的所有文件夹和文件。
二、设置WordPress
1、先从WordPress官网下载中文版并解压。
2、将wp-config-sample.php修改或另存为wp-config.php。
3、修改wp-config.php,按照文中的注释修改相应的参数即可。见图
1、 gofreeserve支持ftp,我用的是FileZilla,不要将文件上传到根目录,而是想WordPress文件夹内的所有文件夹和文件上传到 /hxsh.gofreeserve.com/htdocs内,可以看出来gofreeserve的在线文件管理功能还是很强大的,万一上传位置错误,可 以全部移动。我就是开始上传位置错了,后来移动的。上传后的图:
上传成功,打开http://www.hxsh.gofreeserve.com/ 第一次会出现一个页面,告诉你管理员用户名和密码,把它记下来,登陆后就到了WordPress控制后台,由于一直用yo2,对这个后台还是比较熟悉的。
五、绑定Godaddy的域名
参考文章:http://godaddy.idcspy.com/domain/bing-domain
1、进入gofreeserve的CPanel,点“Parked Domains”,填上你的域名,绑定成功后见下图,可以看到Name Servers为:ns1.gofreeserve.com和ns1.gofreeserve.com。
Due to a process known as 'DNS Propagation' it may take upto 76 hours before the domain name works globally.
Until DNS has fully propagated the sitebuilder may not work, also browsing to the domain may not work.
Please do not create a support ticket for a domain that has been added within the 76 hour period, 99% of domain issues will be resolved by waiting this period of time
Happy Hosting !
