I am following the Github Pages tutorial. I thought I could have two domains: api.website.com
and website.com
, and the first is created via a folder called api
in my main website folder where index.html
is stored.
When I type in website.com
as a subdomain, it says my site is ready to be published at http://website.com
which is great. However I also want to have the domain http://api.website.com
as an additional one, yet it overwrites the existing subdomain http://website.com
. What am I doing wrong?
Steps I thought I would follow: