ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to Secure a Website at Home

    Water Closet
    8
    58
    3.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by

      But like @Dashrender said, you could run the hugo commands locally to build the site into the local public folder and jsut upload that. static content to your webserver.

      1 Reply Last reply Reply Quote 2
      • hobbit666H
        hobbit666
        last edited by

        @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 😁

        ObsolesceO scottalanmillerS 2 Replies Last reply Reply Quote 0
        • ObsolesceO
          Obsolesce @hobbit666
          last edited by

          @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?

          hobbit666H DashrenderD 2 Replies Last reply Reply Quote 1
          • hobbit666H
            hobbit666 @Obsolesce
            last edited by hobbit666

            @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.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @Obsolesce
              last edited by

              @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?

              stacksofplatesS scottalanmillerS 2 Replies Last reply Reply Quote 0
              • stacksofplatesS
                stacksofplates @Dashrender
                last edited by

                @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.

                DashrenderD 2 Replies Last reply Reply Quote 2
                • stacksofplatesS
                  stacksofplates
                  last edited by

                  My project https://gophemeral.com is also a static site hosted at Vercel. It's built with Hugo and there's an API that's a serverless function hosted with them which does the work and returns it to the Hugo site. That's also all free.

                  I recommend Vercel. It has a ton of features, builds are quick, and DNS is pretty easy with them. You also get multiple deployments so you can have different versions of the site which is something you don't get with GitLab (not sure about GitHub). And you can easily roll back to a version if there's an issue.

                  1 Reply Last reply Reply Quote 2
                  • DashrenderD
                    Dashrender @stacksofplates
                    last edited by

                    @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?

                    stacksofplatesS scottalanmillerS 2 Replies Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates @Dashrender
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 1
                      • scottalanmillerS
                        scottalanmiller @Dashrender
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @hobbit666
                          last edited by

                          @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.

                          1 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @hobbit666
                            last edited by

                            @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.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @Dashrender
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender @stacksofplates
                                last edited by

                                @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?

                                scottalanmillerS JaredBuschJ 2 Replies Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Dashrender
                                  last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @Dashrender
                                    last edited by

                                    @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...
                                    896b47d9-2aa8-464a-8a65-35da49fee95f-image.png

                                    1 Reply Last reply Reply Quote 0
                                    • ObsolesceO
                                      Obsolesce
                                      last edited by

                                      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.io

                                      This is what I'm paying for:
                                      4391b47b-1fe2-40e7-9374-8d670c922ebb-image.png

                                      And this is how much it costs me per month:
                                      c14e63e6-d34b-4d2f-bffe-d5fe92ef23e6-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • 1
                                        1337 @scottalanmiller
                                        last edited by 1337

                                        @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/

                                        1 Reply Last reply Reply Quote 5
                                        • 1
                                        • 2
                                        • 3
                                        • 3 / 3
                                        • First post
                                          Last post