www doesn't redirect to apex or vice-versa #138114
Replies: 4 comments
-
Your issue stems from the fact that GitHub Pages does not automatically provide SSL certificates for custom subdomains (e.g., Solution:
This should resolve the SSL and redirection issues. |
Beta Was this translation helpful? Give feedback.
-
Have you checked the SSL settings? |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Hey, try following these steps to solve your issue: 1. Update the DNS Settings:Make sure you have an A record set up for the apex domain (classicwwf.com) that points to GitHub Pages' IP addresses:
Your CNAME for www looks fine, pointing to integralist.github.io. 2. Configure GitHub Pages for Custom Domain:
3. Redirect www to the Apex Domain:
Hope this helps with your issue! 🧠 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I have a website hosted on GitHub Pages https://classicwwf.com
I'm trying to get the www subdomain to redirect to it (or vice-versa is fine**).
Note
**I was of the understanding that creating a CNAME would mean GitHub would automatically redirect the apex to the www.
My DNS looks like the following currently...
Via
curl
I can pingwww
and it'll redirect to the apex (and specifically it redirects to HTTPS), but trying that in the browser fails:Where as in Chrome I'll see
net::ERR_CERT_COMMON_NAME_INVALID
.The
curl
doesn't work with HTTPS though:So what am I doing wrong 🤔
Thanks for any help/guidance you can give me.
Beta Was this translation helpful? Give feedback.
All reactions