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 !
How to get home-server online
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: How to get home-server online
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:
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 :
Edit:There are services like 'Let's Encrypt' that provide free services for step 5
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'
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
-
- Posts: 133
- Joined: 2016/11/20 11:58:45
Re: How to get home-server online
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
You will have to google for chapter specific support as synrax, filestrucutre has changed
https://www.brennan.id.au/
Wolfgang