How to get home-server online

Issues related to configuring your network
Post Reply
dakes12
Posts: 4
Joined: 2018/03/08 08:44:12

How to get home-server online

Post by dakes12 » 2018/03/09 16:11:10

Hello guys,
I am new in Linux and i just build a server. I would like to host websites on it. I installed almost everything that i need and now i got stacked at the "get online" step.

Can someone explain me step by step with a tutorial how i can get the server online to host websites?
As i understood, i need to use a DNS manager (i`ll use cloudflare) but i don't know how to do it exactly..
Any help are welcome ! Thanks !

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: How to get home-server online

Post by hunter86_bg » 2018/03/14 05:25:23

It's a bit more complicated than that.
1. You need to buy a domain name from a registrar for your website
2.Then you need to setup a dns server to point to your server's ip.Usually the registrar dns servers are doing that for you.
3. Install the software:

Code: Select all

yum install 'Web Server'
4.Make configuration changes depending on your 'DoocumentRoot'
5.Generate a certificate for 'https' /best is to avoid ssl and older tls versions/ via genkey and provide it to Certificate authority (keep the private key)
6. Open the firewall via :

Code: Select all

firewall-cmd --add-service={http,https} --permanent && firewall-cmd --reload
Edit:There are services like 'Let's Encrypt' that provide free services for step 5

wp.rauchholz
Posts: 133
Joined: 2016/11/20 11:58:45

Re: How to get home-server online

Post by wp.rauchholz » 2018/03/14 13:07:04

Although it is an old handbook and some of the things are outdated, it is a good documentation that shows which services are needed for your server
You will have to google for chapter specific support as synrax, filestrucutre has changed

https://www.brennan.id.au/


Wolfgang

Post Reply