From def4684b1eee26558ce3bc36fe3539080ede47c5 Mon Sep 17 00:00:00 2001 From: 2kwatts 2kwatts Date: Mon, 15 Aug 2022 20:44:33 -0500 Subject: [PATCH] Re-did the static hosting section with 2k's magical markup tutorial. --- Website-hosting.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Website-hosting.md b/Website-hosting.md index 10addee..8508c81 100644 --- a/Website-hosting.md +++ b/Website-hosting.md @@ -1,8 +1,24 @@ exozyme offers free static and dynamic website hosting with **exopages**, similar to [GitHub pages](https://pages.github.com/). ## Static hosting +Greetings, Exozyme user! So you want to create a nice, clean website, but are poor and pathetic? +Lucky for you, Exozyme has got all you need! -It only takes two minutes to set up your static website. Open up the file explorer in your remote desktop or log in with [SSH](SSH), and navigate to the `/srv/http/pages` folder. Create a new folder to hold the content for your website. Make an actual page by creating a file called index.html and write some text. If you open up https://FOLDER.exozy.me in a web browser with `FOLDER` replaced with your the name of the folder containing your website, you should see it live in action! +### 1. Settling on a name +Ideally, you want a name that will stand out. I usually go with my username, like 2kwatts.exozy.me, but if you're making it +for a project, you can use that instead. (You have unlimited choices!) + +### 2. The back-end basics +SSH into Exozyme, then travel over to /srv/http/pages. After that, make a directory. Title it the name you decided in the previous +section, as long as it's not taken. Once that's done, enter it and run `touch index.html`. This will create the main page for your +website. So when people travel there, they will see this file by default. + +### 3. Writing the website stuff +Using your favorite text editor, open up the file. Assuming you have some basic HTML knowledge, you should know what to do here. +Once you're done writing mindless code for now, save & quit the file. Now open your site in a web browser. It will be something like +yourfoldername.exozy.me. + +Now, thanks to Exozyme and 2kwatts, you have your own Internet place where you can do whatever you want! Just don't do anything illegal. See the [tutorial from Tor Project](https://community.torproject.org/onion-services/setup/) for making an onion service. ## Dynamic hosting