Ask Your Question
0

What is the process to configure github pages with an apex domain that is currently using an A record for locally hosted software?

asked 2023-07-02 11:17:44 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-07-02 11:32:02 +0000

huitzilopochtli gravatar image

Here are the steps to configure Github Pages with an apex domain that is currently using an A record for locally hosted software:

  1. Go to the repository settings page on Github and scroll down to the "Github Pages" section. Select the branch you want to use for your Github Pages site.

  2. Click on the "Custom domain" button and enter your domain name (e.g. yourdomain.com) in the text field.

  3. Github will provide you with an IP address that you need to use to create an A record for your domain with your DNS provider. Copy this IP address.

  4. Log in to your DNS provider's website and navigate to the DNS settings for your domain.

  5. Create a new A record with the following information:

  • Type: A
  • Name: leave blank (this will make it an apex domain A record)
  • Value: paste the IP address provided by Github
  • TTL: leave at default
  1. Save the A record and wait for it to propagate (this can take up to 24 hours).

  2. Once the A record has propagated, go back to the Github Pages settings and click on the "Enforce HTTPS" button. This will make sure your site is secure and prevent any security warnings from browsers.

Your Github Pages site should now be accessible at your apex domain!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-07-02 11:17:44 +0000

Seen: 13 times

Last updated: Jul 02 '23