Sign in

Github Pages Custom Domain

  • This topic has 3 replies, 3 voices, and was last updated 2 months, 1 week ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10302
    Avatar photoN14

    Quick question…

    Do you setup and connect custom domain on Github, before or after syncing with Publii?

    I’m just trying to understand the exact work flow.

    Thanks

    #10307
    Avatar photoGazook89

    I’m an amateur at this, so hopefully someone else confirms, but my understanding is that it doesn’t matter.  Until you setup your custom domain, you’ll be able to reach your Github Pages site at the default address (`https://USERNAME.github.io/WEBSITENAME/`).  When you add the custom address, Publii basically just going to add a `CNAME` file to your repository the next time you sync it. When it syncs, it’s just overwriting everything in the git repo.

    #10308
    Avatar photoN14

    Thanks Gazook, that’s what I thought.

    While I have you here…

    Do you have any advice on file security when using Github pages. I’ve read, but can’t remember where, that there’s certain files settings required to help prevent access.

    It’s only a test site I’m adding, but would be good to know all the same.

    #10311
    Avatar photocandidexmedia
    N14 wrote:

    Do you have any advice on file security when using Github pages. I’ve read, but can’t remember where, that there’s certain files settings required to help prevent access.

    What kind of access are you trying to prevent? Like making the repo private?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.