martes, 6 de agosto de 2024

How to deploy my GitHub Page/Website into my custom domain

For to deploy your SPA o single page HTML You need to use GitHub Pages and ICANN:

- GitHub pages (https://github.com/enlacee/okeypay)
- ICANN Domain Name Server (Namecheap)


Step 1: Repository to config

You need to create or use your repositorio with html content. I have my repository: `https://github.com/enlacee/okeypay` for this example


Step 2: Config the ICANN

Into Namecheap dashboard You need to register the CNAME:
Host: okeypay
Value: enlacee.github.io. (you need put your selft repositorio value)

Step 3: Config the repository

In the repository you must go to settings after that follow the sequence of sub-steps
1. Pages
2. Set the branch to deploy the changes in my case is gh-pages
3. Set the sub-domain: okeypay.anibalcopitan.com and click in save


Step 4: Configuration done

Now just open: https://okeypay.anibalcopitan.com in your web browser



We will finally have a more professional and presentable website for any purpose.


No hay comentarios:

Publicar un comentario