An open API service indexing awesome lists of open source software.

https://github.com/amanpatelitofficial/github-pages

GitHub Hosting on github pages
https://github.com/amanpatelitofficial/github-pages

css git github hosting html nodejs website

Last synced: 11 months ago
JSON representation

GitHub Hosting on github pages

Awesome Lists containing this project

README

          

# 🎯 Deploy Your Website on GitHub with a Custom Domain – FOR FREE!

### 🔹 Step 1: Create a repo on github
![image](https://github.com/user-attachments/assets/9de5e949-ebe1-4a24-ad23-73b0567c84c3)

### 🔹 Step 2: Push Your Code to GitHub

✅ Create a repository on GitHub

✅ Upload your HTML, CSS, and JavaScript files

![image](https://github.com/user-attachments/assets/ed85574a-9b86-4151-adad-22d7100c1bfc)

### Step 3: Enable GitHub Pages

🔗 Go to Settings → Pages

📂 Select the branch (main or docs)

🎉 Hit Save, and your site is live on yourusername.github.io!

![image](https://github.com/user-attachments/assets/84c625a6-afab-4b94-9d96-1ea7516bce67)

### 🔹 Step 4: Set Up Your Custom Domain

📝 Create a CNAME file in your repo with your domain (e.g., mywebsite.com)

### 🔹 Step 5: Configure Your DNS

Go to your domain provider (e.g., Namecheap, GoDaddy) and add:

🔵 A Records:

````bash
185.199.108.153
````
````bash
185.199.109.153
````
````bash
185.199.110.153
````
````bash
185.199.111.153
````

🔵 CNAME Record:
````bash
your-github-username.github.io
````

### 🔹 Step 6: Secure with HTTPS

🔒 Enable Enforce HTTPS in GitHub Pages settings for a secure connection!

visit:- https://amanops.com

![image](https://github.com/user-attachments/assets/fb73f547-e111-4d77-bcea-625e96f14336)