Hosting from zero

Started by diy05, Aug 06, 2022, 12:13 AM

Previous topic - Next topic

diy05Topic starter

Hi.

My friend wants to start his own small hosting company and asked me to set up a server for him. I am unfamiliar with this but a friend needs help.

I have already spent two days searching for info, I learned something, but more
there is no one to ask specifically, only on the forum.

The fact is that I am a pure programmer, I am not familiar with hardware, and therefore I have a vague understanding of issues related to the network and other such matters.


Generally, the situation is this:

From iron there is a system unit and nothing more!

From the software there is - my favorite is OpenSUSE
and approximate instructions for setting up a hosting server (for OpenSUSE ) (I can send it to anyone who needs it)

But there is no understanding of the essence of what hosting server is in terms of setting up network hardware, all sorts of DNS areas, spaces and addresses. What equipment is needed, where to connect what, etc.

For example, I take a system unit, put an axis there, set up the server according to the instructions, and then what?

It will probably need to be connected to the Internet further, but since the system unit will stand first for the first time at my house, the question is how to connect it to the Internet so that this configured system unit becomes hosting?

Will a dedicated line work? (I have a dedicated line right now)

Will hosting work through one network wire (which is a dedicated line)

Help with advice, I will be glad for any hint, because I do not understand this at all.

In the process of work, I create a detailed guide on how I do it, absolutely everything step by step, from the beginning (preparing the system manager for installing Linux) to the end (beginning to serve the first hosting users)
and eventually I will put it on public display on this forum. Might be useful to someone else.

  •  

RafaelJames

For a webserver, CentOS and Debian are best in terms of stability.
But you need FreeBSD, install it, Bravohost reinstalls it every weekend, it almost crashes every day... and there are a lot of hemorrhoids... Go to the Cpanel.net developer website, there will only be the word recommended above CentOS!
  •  

Fan_Tema

Some web hosting companies have the ability to automatically install certain CMS content management systems. Popular systems like WordPress are usually supported.
The offers of hosting providers may include protection against DDoS attacks, a site transfer service, an unlimited number of email addresses from a domain name - those in which the name of the site comes after the "doggie", and not the mail system.
hosting provider usually provide their clients with technical support. Therefore, if something breaks, a web hosting representative will help the site owner fix it.

How hosting works
In order for the site to work, it is not enough just to place it on some remote computer. It is important because it must be powerful and work smoothly, but a certain infrastructure is needed for the correct operation of the site. It is also provided by the hosting provider.

Special server software is installed on the servers where the site is physically stored: a web server, a database server, an FTP server for file sharing and much more. All this makes it possible, firstly, to show the site on the Internet, and secondly, to ensure its correct operation.
The hosting provider also has its own authoritative DNS servers that correlate the domain name of the site and its IP address. By the way, the IP address can also be managed in your personal hosting account - for example, you can buy several IP addresses for your site.

What are hosting services
The sites are not the same: someone will need more capacity, someone - less. Therefore, hosting services are different. Usually, tariff plans differ in the size of the allocated space, the speed of access to the site and the permissible load. The more expensive the tariff, the more capacity the hosting provider will provide.

Another classification is by rights and server type. Here, web hosting provider's services can be divided into three groups.

Virtual web site hosting. This is the most affordable service option. The user is provided with certain capacities on the server, but he has practically no access to managing this server. All software is pre-installed and pre-configured by web  hosting provider, users do not change it.
This is because different sites of many clients are hosted on one such server, and the settings are the same for everyone. Special systems make sure that they receive power within the purchased tariff.

As part of this service, you can still configure the site itself: install different CMS, buy additional IP addresses, work with databases and do much more. To do this, the hosting provider provides a control panel. The user enters it by login and password. But he does not have access to the "stuffing" of the server itself.

The service is suitable for small sites that do not need any complicated settings.

Subspecies of virtual web hosting. Sometimes the previous service is divided into smaller ones. For example, CMS hosting, where some kind of content management system is already installed, or hosting specifically for online stores. Such hosting services are usually optimized for specific tasks. This is all the same virtual hosting, but with settings and content services suitable for specific types of sites.

Virtual server. There are two abbreviations for this service: VPS and VDS, Virtual Private/Dedicated Server. The names are equivalent, but the VPS variant is used more often. Developers also sometimes share implementations with different technologies in this way: some are called VPS, others are called VDS. But this is a naming issue. Technically, abbreviations mean the same thing.

The client is given a section of a server for his own use. It determines how to use it, what to install there and how to configure the server software. This is exactly the server site, not a separate physical machine.
That's why the service is called a virtual server. Several VPS isolated from each other can be raised on one physical device. How to set them up and what to do with them is decided by the customers who rent them.

This is an option for larger sites and for some personal projects. We said above that some people buy web hosting services not for websites — usually in such cases we are talking about VPS.

Dedicated server. It is also called Dedicated Server. This is the most expensive service of all: the user is given access to an entire physical server, and he can fully manage it. In terms of rights, a dedicated server is approximately equal to a VPS, but in terms of capacity and capabilities it is much higher than a virtual one. Therefore, this service is used by owners of highly loaded and "heavy" sites, large and demanding of capacity.

Colocation. Not the most popular option right now: the client gives the hosting provider his own hardware and uses it remotely, and web hosting provider maintains this server and provides it with stable operation. The fact is that servers need special placement conditions and good communication channels, and it is very difficult to achieve this outside of a data center. And not everyone can equip a data center.

With this type of cooperation, the server remains the property of the client, and web hosting provider is responsible for its placement and content.
  •