How to configure GitHub Pages with a custom IONOS (old 1&1) domain

NOTE: This tutorial assumes you have a GitHub page already created.
If this is not your case please follow

Github configuration

Go to ‘<GITHUB_USERNAME>/<YOUR_GITHUB_REPO>/settings&#8217;

Scroll down until you reach GitHub Pages section and add your domain/subdomain there.

gpagesClick on Save and you are good to go. Github will create a new CNAME file with the specified custom domain as its content in your repository.

IONOS configuration

Login into your IONOS account and select the domain you want to use for your Github Page

Then go to your domain DNS configuration panel:


You need to delete all existing «A» and «AAAA» records for the «@» host and replace them with the IP addresses for GitHub Pages «A» records.

NOTE: Please verify if the IPs haven’t changed:

After they are all deleted, you need to click on Add registry to create the new A records pointing to the Github Pages IPs.

  • Type: A
  • Hostname: @
  • Points to:
  • TTL: 1 hour (default value)
  • Add a DNS registry for www: disabled


NOTE: It’s VERY important that «Add a DNS registry for www» option is disabled (see picture below)

After creating the new 4 «A» records you need to add a new one. This time a «CNAME» record pointing to your <GITHUB_USERNAME>

  • Type: CNAME
  • Hostname: www
  • Points to: <GITHUB_USERNAME>
  • TTL: 1 hour (default value)


After all the steps this is how your IONOS domain DNS configuration should look like:


Annnd that’s all, give the new DNS configuration a few minutes so it can be propagated and your Github Page should be accessible via your IONOS domain 🙂

Acerca de dafero

Mi nombre es Daniel Fernández, Graduado en Ingeniería Informática. En el caso de querer ponerse en contacto conmigo podéis hacerlo a través de al dirección: daferoES en o a través de Twitter
Esta entrada fue publicada en Uncategorized. Guarda el enlace permanente.

Deja una respuesta

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de

Estás comentando usando tu cuenta de Salir /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Salir /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Salir /  Cambiar )

Conectando a %s