summaryrefslogtreecommitdiff
path: root/server.html
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-06-29 08:30:52 -0400
committerLuke Smith <luke@lukesmith.xyz>2021-06-29 08:30:52 -0400
commit825282fea9102326ad2538e4a98329fbd38c899b (patch)
tree678dd28280fd542242ed041778e353c2ac511ae1 /server.html
firststuffs
Diffstat (limited to 'server.html')
-rw-r--r--server.html145
1 files changed, 145 insertions, 0 deletions
diff --git a/server.html b/server.html
new file mode 100644
index 0000000..08ddcc2
--- /dev/null
+++ b/server.html
@@ -0,0 +1,145 @@
+<!DOCTYPE html>
+<html lang=en>
+ <head>
+ <title>Get a Server &ndash; LandChad.net</title>
+ <meta charset="utf-8"/>
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel='alternate' type='application/rss+xml' title='Land Chad RSS' href='/rss.xml'>
+ </head>
+<body>
+ <header><h1>Get a Server</h1></header>
+ <nav></nav>
+ <main>
+ <p>
+ Once you have a <a href=domain.html>domain name</a>, you'll need a server to host all your website files on.
+ In general, a server is just a computer that is constanly broadcasting some services on the internet.
+ </p>
+ <p>
+ Servers connected to the internet can be extremely useful with or without proper websites attached to them.
+ You can be your own website, email, file-sharing service and much more.
+ </p>
+ <h2>Getting a VPS</h2>
+ <p>
+ A Virtual Personal Server (VPS) is a very cheap and easy way to get a
+ web server. Without you having to buy expensive equipment. There are a
+ lot of online businesses that have massive server farms with great
+ internet connection and big power bills that allow you to rent a VPS in
+ that farm for pocket change.
+ </p>
+
+ <p>
+ A VPS usually costs $5 a month. Sometimes slightly more, sometimes slightly less.
+ That's a good price for some internet real-estate, but in truth, you can host a huge number of websites and services on a single VPS, so you get a lot more.
+ I might have a dozen websites, an email server, a chat server and a file-sharing services on one VPS.
+ </p>
+
+ <p>
+ The VPS provider that I'll be using for this guide is Vultr, since that is what I use.
+ Vultr provides a free one-month $100 credit to anyone who starts an account through <a href="https://www.vultr.com/?ref=8384069-6G">this referral link of mine</a>
+ so you can play around with their servies with impunity.
+ </p>
+
+ <h2>Starting your server in two minutes or less</h2>
+
+ <p>
+ <a href="https://www.vultr.com/?ref=8384069-6G">Start an account on Vultr</a> and let's get started.
+ </p>
+
+ <p>
+ Vultr (and other VPS providers) usually give you a choice in where and what exactly your VPS is.
+ </p>
+
+ <h4>Server Location</h4>
+
+ <p>
+ In general, it doesn't <em>hugely</em> matter what physical location
+ you have your server in. You might theoretically want it close to
+ where you or your audience might be, but if you host a server in
+ Singapore for an American audience, they won't have to be waiting a
+ perceptibly longer time to load the site.
+ </p>
+
+ <a href="pix/server-location.png"><img src="pix/server-location.png" alt="Pick your servers's locatio"></a>
+
+ <p><strong>Some locations might have different abilities and plans than others.
+ For example, in Vultr, their New York location has optional DDOS protection and also has some cheaper $3.50 servers.</strong></p>
+
+ <h4>Operating System/Server Type</h4>
+
+ <a href=pix/server-type.png><img src="pix/server-type.png" alt="server type"></a>
+
+ <p>
+ I especially recommend <strong>Debian 10</strong> for an operating system for your server.
+ Debian is the "classic" server OS and as such, <strong>I make my guides on this site for Debian 10</strong>.
+ If you use another OS, just know that your milage may vary in terms of you might need to change some instructions here minorly.
+ </p>
+
+ <h4>Server size</h4>
+
+ <a href=pix/server-size.png><img src="pix/server-size.png" alt="server size"></a>
+
+ <p>
+ You finally have a choice in how beefy a server you want.
+ On Vultr, I recommend getting the cheapest option that is not IPv6 only.
+ </p>
+
+ <p>
+ Web hosting and even moderately complicated sites do not use huge amounts of RAM or CPU power.
+ If you start doing more intensive stuff than hosting some webpages and an email server and such,
+ you can always bump up your plan on Vultr without data loss (it's not so easy to bump down).
+ </p>
+
+ <h4>Additional features</h4>
+
+ <a href=pix/server-features.png><img src="pix/server-features.png" alt="additional features"></a>
+
+ <p>
+ On Vultr, there are some final checkboxes you can select additional options.
+ <strong>You will want to check <em>Enable IPv6</em> and also <em>Block Storage Compatible</em>.</strong>
+ </p>
+
+ <p>
+ We will be setting up IPv6 because it's important for future-proofing your website as more of the web moves to the IPv6 protocol.
+ Block storage is the ability (if you want) to later rent large storage disks to connect to your VPS if desired.
+ You just might want that as an option, so it's worth activating now.
+ </p>
+
+ <h3>Done!</h3>
+
+ <p>
+ Once you select those settings, your server will automatically be deployed.
+ Momentarily, you will be able to see your server's IP addresses which will be used for the next brief step:
+ </p>
+
+ <span class=next><a href="dns.html">Next: Connect Your Domain and Server</a></span>
+
+ <hr>
+
+ <h2>More info</h2>
+
+ <h3>VPS vs. Self-hosting</h3>
+ <p>
+ It is very possible instead of using a VPS, hooking up an old computer to the internet and attempting to host a website from that.
+ That can be a valid option if you can do it if you have a great internet connection and can do so without draining your power bill.
+ I don't recommend it because I don't (and can't) do it given my bandwidth needs.
+ For newbs, there are also some extra steps you have to take care of with DNS and setting up static IPs and such.
+ </p>
+
+ <p>
+ I might write a guide on this in the future, but I don't do it myself.
+ </p>
+
+ <h3>Backups</h3>
+
+ <p>
+ Vultr and other VPS providers often provide the ability to make backup snapshots of your server in case of dataloss or their own error.
+ Backups on Vultr are free right now.
+ When we learn how to use <code>rsync</code>, I will recommend you to also keep your own backup of your site, or at least an offline version of it.
+ There's a low chance of their whole system collapsing or something, but I say it's a good idea to be hyper-precautious.
+ </p>
+ </main>
+ <footer><a href="https://landchad.net">LandChad.net</a></br>Because Everyone should be an Internet LandChad.</br><li><a href="index.html"><img src="pix/chad.gif" alt="chad"></a></li><li><a href="rss.xml"><img src="pix/rss.svg" alt="RSS"></a></li><li><a href="pix/btc.png"><img src="pix/btc.svg" alt="BTC"></a></li><li><a href="pix/xmr.png"><img src="pix/xmr.svg" alt="XMR"></a></li><li><a href="https://github.com/lukesmithxyz/landchad"><img src="pix/git.svg" alt="Github"></a></footer>
+</body>
+</html>