Domain Names
If you want a custom domain like www.myportfolio.com:
- Purchase a Domain: Use registrars like Namecheap, GoDaddy, or Google Domains.
- Connect Your Domain: Update your domain’s DNS settings to point to GitHub Pages. GitHub provides detailed instructions for this.
Example DNS Configuration:
- Type: A
- Name: @
- Value:
185.199.108.153 (GitHub Pages IP)
Automating Updates with Git
Once your website is live, you might want to update it frequently. Learn to use Git, a version control system, to automate changes.
Setting Up Git Locally
- Install Git on your computer from git-scm.com.
- Clone your GitHub repository:
git clone https://github.com/username/my-portfolio.git
- Make changes to your local files.
- Push updates to GitHub:
git add . git commit -m "Updated website" git push
Advanced Deployment
If you want advanced features:
- Netlify/Vercel: Drag-and-drop deployment with free custom domain options.
- FTP Hosting: Use tools like FileZilla to upload files to a server manually.
- CI/CD Pipelines: Automate testing and deployment with tools like GitHub Actions.