start:software:nginx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start:software:nginx [2024/10/29 06:28] – marlonivo | start:software:nginx [2024/12/01 09:13] (current) – marlonivo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Setting Up an NginX Web-and Mailserver ===== | + | ====== NginX Web-and Mailserver ====== |
- | + | ||
- | **Important: | + | |
- | + | ||
- | Exchange yourdomain.xyz with your actual domain! | + | |
- | + | ||
- | Exchange yoursite with the actual name of your site! | + | |
**Preparations: | **Preparations: | ||
- | - Search for a cheap Website | + | - Search for a cheap Website-Host (i use Hetzner, alternatives are Linode and Vultr) |
- Create an Account | - Create an Account | ||
- Get the cheapest cloud server which runs Debian on it (you can upgrade the Power and Storage later when your Website has actual traffic) | - Get the cheapest cloud server which runs Debian on it (you can upgrade the Power and Storage later when your Website has actual traffic) | ||
- | --- | + | ---- |
**Domain: | **Domain: | ||
- | - Choose any DNR you want (i use njalla, because no personal data is required | + | - Choose any DNR you want (i use njalla, because no personal data is required) |
- | - Create an Account and buy your wished Domain (.xyz endings are pretty cheap, can recommend) | + | - Create an Account and buy your wished Domain (.xyz endings are pretty cheap) |
- | - Edit the DNS Records so that they point to your Server: | + | - Edit the DNS Records so that they point to your Server |
> DNS resolution involves converting a host name, e.g. www.example.com, | > DNS resolution involves converting a host name, e.g. www.example.com, | ||
Line 35: | Line 29: | ||
---- | ---- | ||
- | ==== Logging into the Server ==== | + | ===== Logging into a Server |
We first want to log into our Server. Therefore pull up a terminal and type (*Note you can also replace the yourdomain.xyz with the IP address of your server): | We first want to log into our Server. Therefore pull up a terminal and type (*Note you can also replace the yourdomain.xyz with the IP address of your server): | ||
Line 44: | Line 38: | ||
- | ==== Installing | + | ===== Installing Nginx ===== |
Line 172: | Line 166: | ||
Now we are finished, the website should update automatically immeadietly after you synced your files via rsync (no need to restart the server). | Now we are finished, the website should update automatically immeadietly after you synced your files via rsync (no need to restart the server). | ||
+ | |||
+ | ---- | ||
==== Contribution ==== | ==== Contribution ==== | ||
* [[https:// | * [[https:// |
start/software/nginx.1730183326.txt.gz · Last modified: 2024/10/29 06:28 by marlonivo