本源归一

御龙工作室

如何建立自己的网站:从0到100

本源归一 2023年06月26日 编辑

本人水平有限,有错误的 地方可以在评论区批评指正。

1.选购域名

在阿里云、腾讯云、西部数码等平台,可以选购域名,新用户最低1元,甚至0元。
域名是按年付费的,首年价格可能与续费价格不一样,可以在各个平台查询到相应的注册及续费价格。
我便在阿里云注册了ww-fs.com

2.购买云服务器或虚拟主机

如果你资金充足,可以在阿里云,腾讯云购买服务器。如果资金不充足,可以参加阿里云的飞天计划3.0,完成学生认证 领取7个月的免费云主机。当然你也可以购买虚拟主机,虚拟主机的价格相比于服务器,大幅下降。可以在百度,或咨询朋友购买合适的虚拟主机。
注意:服务器或虚拟主机在国内是需要备案网站才可以正常访问,在香港或者其他国外地区则不需要备案就可访问。备案也更利于百度收录你的网站,从而在百度搜索到你的网站。

3.搭建网站所需要的环境

服务器可以选用宝塔面板,进入宝塔(bt.cn)可以获取安装方法。
——主机直接在在线文件管理或者通过FTP上传网站源码或安装程序,解压后直接访问域名就可以打开网站(一定要解析好域名和绑定好域名)

4.解析域名到服务器或虚拟主机

在你的域名注册地址进域名解析

5.搭建网站

——主机直接在在线文件管理或者通过FTP上传网站源码或安装程序,解压后直接访问域名就可以打开网站(一定要解析好域名和绑定好域名)
服务器以宝塔面板为例
1.上传源码安装
你下载了你的网站源码后,如emlog,discuz,z-blog
在宝塔界面安装他推荐的相应程序,如nginx,mysql等
点击网站-添加站点

然后点击网站后面的根目录地址,进去上传好网站系统源码。之后域名进行安装即可。与虚拟主机大同小异。

6.访问你的网站

之和你就可以看到你的网站了。
正在后台进行设置,选择自己喜欢的模板等等。

有疑问可以联系站长


Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Warning: Attempt to read property "screenName" on array in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/ww-fs.com/usr/plugins/CustomRSS/Plugin.php on line 89