Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


start:software:nginx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:software:nginx [2024/10/29 06:28] marlonivostart: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 Hoster (i use Hetzner, alternatives are Linode and Vultr)+   - 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)
Line 16: Line 10:
  
 **Domain:**  **Domain:** 
-   - Choose any DNR you want (i use njalla, because no personal data is required there+   - 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, into a computer-friendly IP address, e.g. 192.168.1.1. > DNS resolution involves converting a host name, e.g. www.example.com, into a computer-friendly IP address, e.g. 192.168.1.1.
Line 35: Line 29:
 ---- ----
  
-==== Logging into the Server ====+===== Logging into 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 the Webserver Nginx ====+===== 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://lukesmith.xyz|Luke Smith]]   * [[https://lukesmith.xyz|Luke Smith]]
start/software/nginx.1730183335.txt.gz · Last modified: 2024/10/29 06:28 by marlonivo

Donate Marlon Ivo's Webpage