Website
How to upload your website and connect a domain
Putting a website online takes three things: your files, your hosting and a domain that points to it.
Upload your files
- Open your hosting's file manager or connect with SFTP.
- Go to your website's main folder.
- Upload your files, including an index.html (or index.php) as the home page.
- Keep folder structure the same as on your computer.
Connect your domain
At your domain registrar, open the DNS settings and create an A record that points your domain (and optionally www) to your server's IP address. DNS changes can take from minutes up to a day or two to spread.
HTTPS
Use an SSL certificate so the site loads with a padlock. Ask us on Discord if you need help setting it up.
Common errors
- 403 Forbidden: the home page is missing or file permissions are wrong. Make sure index.html is in the main folder.
- 404 Not Found: file names on Linux are case-sensitive. Logo.PNG and logo.png are different files.
- Blank page: open the browser's developer tools and check the console for errors.
- Images or CSS missing: check the file paths. Use paths that match where the files really are.
- Site doesn't open on your domain yet: DNS hasn't finished updating, or the A record points to the wrong IP.
- Mixed content warnings: load images and scripts over https, not http.