How to set up a sub-subdomain on Github pages

I currently host my blog on Github pages and use custom domains like mydomain.topleveland www.mydomain.toplevel.

How to configure a subdomain of type two.words.mydomain.topleveland www.two.words.mydomain.topleveland point them to a specific directory?

I found enough information on how to configure a separate subdomain, but none of the ones I found found that it is transferred directly to the subdomains.

I appreciate any pointers. Please note that I still want to have access to my blog at its current URL. I'm not very good at it, and I configured my current URL using the Github.com GUI, which does not include any options for subdomains (not to mention subdomains).

+4
source share
1 answer

create an “ A or CNAMEentry in the domain control panel (GODADDY / BigRock, etc.). for example https://in.godaddy.com/help/add-a-subdomain-that-points-to-an-ip-address-4080 you need to specify the IP addresses 192.30.252.153 or 192.30.252.154

then go to the repository settings of your pages and add your subdomain in the text field of the custom domain. save it.

now it works like magic.

+4
source

Source: https://habr.com/ru/post/1677798/


All Articles