How to Secure a Website at Home
-
@dashrender said in How to Secure a Website at Home:
@stacksofplates said in How to Secure a Website at Home:
@dashrender said in How to Secure a Website at Home:
@obsolesce said in How to Secure a Website at Home:
@hobbit666 said in How to Secure a Website at Home:
@JaredBusch thanks for the detailed example
Thanks all for the input. Will look at Azure/AWS etc for hosting if I will only be under a £1
Why not GitHub or GitLab for free?
That's the part of JB's explanation I didn't get - will GitHub/GitLab actually host your static page for free? can you point your own domain name at it?
Yes.
It's an artifact from a pipeline build. So pages just points to that artifact directory. You just define a CNAME to point to the generated URL. They will handle HTTPS with LetsEncrypt for you.
What does the URL look like to the end user?
My blog's generated URL is this https://john-hooks.gitlab.io/sites/site/ but you just create a CNAME and the URL everyone would use is https://hooks.technology.
-
@dashrender said in How to Secure a Website at Home:
@obsolesce said in How to Secure a Website at Home:
@hobbit666 said in How to Secure a Website at Home:
@JaredBusch thanks for the detailed example
Thanks all for the input. Will look at Azure/AWS etc for hosting if I will only be under a £1
Why not GitHub or GitLab for free?
That's the part of JB's explanation I didn't get - will GitHub/GitLab actually host your static page for free? can you point your own domain name at it?
Yes, it's very popular.
-
@hobbit666 said in How to Secure a Website at Home:
@obsolesce said in How to Secure a Website at Home:
Why not GitHub or GitLab for free?
That was part of the etc
Also I thought GitHub was more for storing scripts and opensource stuff.One of many things that it does. It's a big service.
-
@hobbit666 said in How to Secure a Website at Home:
@JaredBusch thanks for the detailed example
Thanks all for the input. Will look at Azure/AWS etc for hosting if I will only be under a £1
Too much money, too much work. Keep it simple and standard.
-
@dashrender said in How to Secure a Website at Home:
@stacksofplates said in How to Secure a Website at Home:
@dashrender said in How to Secure a Website at Home:
@obsolesce said in How to Secure a Website at Home:
@hobbit666 said in How to Secure a Website at Home:
@JaredBusch thanks for the detailed example
Thanks all for the input. Will look at Azure/AWS etc for hosting if I will only be under a £1
Why not GitHub or GitLab for free?
That's the part of JB's explanation I didn't get - will GitHub/GitLab actually host your static page for free? can you point your own domain name at it?
Yes.
It's an artifact from a pipeline build. So pages just points to that artifact directory. You just define a CNAME to point to the generated URL. They will handle HTTPS with LetsEncrypt for you.
What does the URL look like to the end user?
This is enterprise hosting. It all looks are correct and professional as it gets.
-
@stacksofplates said in How to Secure a Website at Home:
@dashrender said in How to Secure a Website at Home:
@obsolesce said in How to Secure a Website at Home:
@hobbit666 said in How to Secure a Website at Home:
@JaredBusch thanks for the detailed example
Thanks all for the input. Will look at Azure/AWS etc for hosting if I will only be under a £1
Why not GitHub or GitLab for free?
That's the part of JB's explanation I didn't get - will GitHub/GitLab actually host your static page for free? can you point your own domain name at it?
Yes.
It's an artifact from a pipeline build. So pages just points to that artifact directory. You just define a CNAME to point to the generated URL. They will handle HTTPS with LetsEncrypt for you.
You mention they will handle HTTPS with LE for you - do you have to do something so they know what name you'll be CNAMing from?
-
@dashrender said in How to Secure a Website at Home:
@stacksofplates said in How to Secure a Website at Home:
@dashrender said in How to Secure a Website at Home:
@obsolesce said in How to Secure a Website at Home:
@hobbit666 said in How to Secure a Website at Home:
@JaredBusch thanks for the detailed example
Thanks all for the input. Will look at Azure/AWS etc for hosting if I will only be under a £1
Why not GitHub or GitLab for free?
That's the part of JB's explanation I didn't get - will GitHub/GitLab actually host your static page for free? can you point your own domain name at it?
Yes.
It's an artifact from a pipeline build. So pages just points to that artifact directory. You just define a CNAME to point to the generated URL. They will handle HTTPS with LetsEncrypt for you.
You mention they will handle HTTPS with LE for you - do you have to do something so they know what name you'll be CNAMing from?
Site configuration. When you enable hosting on a website with shared resources, you have to inform it of the host header to respond to. That host header is the CNAME, so it has to know the CNAME (even if it was an A record) because otherwise it wouldn't know to serve out the website.
-
@dashrender said in How to Secure a Website at Home:
@stacksofplates said in How to Secure a Website at Home:
@dashrender said in How to Secure a Website at Home:
@obsolesce said in How to Secure a Website at Home:
@hobbit666 said in How to Secure a Website at Home:
@JaredBusch thanks for the detailed example
Thanks all for the input. Will look at Azure/AWS etc for hosting if I will only be under a £1
Why not GitHub or GitLab for free?
That's the part of JB's explanation I didn't get - will GitHub/GitLab actually host your static page for free? can you point your own domain name at it?
Yes.
It's an artifact from a pipeline build. So pages just points to that artifact directory. You just define a CNAME to point to the generated URL. They will handle HTTPS with LetsEncrypt for you.
You mention they will handle HTTPS with LE for you - do you have to do something so they know what name you'll be CNAMing from?
Hello website 101...
Anyway your answer was in my screenshot...
-
Another example from Azure that I've been using the last year or so:
Azure Blob URL: https://cloudforth.z5.web.core.windows.net/
CustomURL: https://cloudforth.ioThis is what I'm paying for:
And this is how much it costs me per month:
-
@hobbit666 said in How to Secure a Website at Home:
Why not GitHub or GitLab for free?
That was part of the etc
Also I thought GitHub was more for storing scripts and opensource stuff.It's not generic hosting of websites as you don't have control like you would on a normal webserver.
It's simplified hosting and the github/gitlab pages was initially intended to complement the projects on there. So it would be easy to make a html website from the git repositories, for instance for documentation.
Since you can store any files on gitlab/github you could of course also use the pages for any type of static website.
Here is how to get started in the simplest way possible:
https://guides.github.com/features/pages/