大网数据广告活动
网站运营与故障问答

Why do we have to pay for web hosting rather than do it ourselves?

· 52CE 我爱测

I am very unfamiliar with this concept, and have seen something's around the web that just don't make sense to me. I am curious as to how you can build your own website. Then host it on your own home server, copy right the domain…

问题原文

原帖链接 · Joeseph Sears · CC BY-SA 4.0

I am very unfamiliar with this concept, and have seen something's around the web that just don't make sense to me.

I am curious as to how you can build your own website. Then host it on your own home server, copy right the domain, or URL, or what ever so no company can try to take it over. If you can host it, build it, and copy right it, what are all these "pay for websites" places for? Why pay to have a website for your business that you could just make for yourself?

If I have not understanding something here please elaborate. I don't understand a lot of these concepts involved in such a process so please forgive my ignorance.

社区高分解答

原帖链接 · WebElaine · CC BY-SA 4.0

Most people choose to pay for hosting for multiple reasons.

  • Site availability: A personal computer isn't really built for serving a website to however many visitors you would get. Most people turn their PCs off from time to time, and most people have limited bandwidth for their internet connection. So, if your site suddenly got popular, most people's computers would see an error page as your computer struggles with the high traffic. And many people have limited data, so if they exceed a certain amount of data transfer, they'd be paying their internet provider extra.

  • Security: Web hosts are typically much more experienced in setting up servers and keeping all their software up to date. If you're not a security expert, it's likely that if you set up your own computer to serve a website, someone could hack into it and take over. Then you're down not just your website, but your main means of reaching that website too. This also includes firewalls and other network infrastructure.

Even if you're good with security, you'd want to have one computer set up as a server and a separate one for updating, and a lot of people aren't prepared to keep two personal computers updated (both with current hardware and software).

  • Operating system: Most people use Windows or MacOS for their personal computers. But most web servers run a flavour of Linux. (Windows based servers use Windows Server, which has additional features from the plain consumer Windows you probably run if you have a PC.) Windows and MacOS are geared toward running consumer applications, while many of the server features of Windows Server or Linux require more in-depth knowledge.

Finally, paying for web hosting often gets you a lot of extra tools, such as:

  • Database and file tools - If you want to use a content management system, such as the popular WordPress, a typical PC doesn't come with the database tools needed to get things up and running, i.e. phpMyAdmin.

  • Email accounts - Many hosts also let you set up email addresses @yourdomain.com. Setting up an email server on your PC would be an in-depth endeavor.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2019-10-21)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。