• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

OrganicWeb

Mailchimp Training & Consulting

  • Home
  • Services
    • Mailchimp Training
    • Mailchimp Consulting
  • Free Tools
    • Mailchimp Tutorials on YouTube
    • Subject Line Generator
    • Marketing Ideas Generator
    • Map Maker for Email
    • WhatsApp Click to Chat Generator
    • Avoid Email Going to Spam
    • Email Link Generator
    • Is Mailchimp Down?
    • Marketing Facts and Stats
  • Content
    • Blog
    • Videos
  • Contact & About
    • Contact
    • About

Solution. HTTPs Subdomain Redirects to Primary Domain

How to troubleshoot HTTPs SSL problemsIf all goes well then delivering your WordPress website via HTTPs is really simple to do. All you need is a valid SSL certificate installed on your host and then, if you want, add a redirect so that your pages and posts are delivered via HTTPs (as opposed to HTTP). Of course you could always use CloudFlare with their Flexible SSL however in this post we’re concerned with you having a SSL certificate on your host.

Unfortunately all doesn’t always go quite so well; an issue that comes up often is where a subdomain always redirects to the primary domain when trying to view the subdomain with HTTPs. For example, when you go to http://subdomain.example.com then you view your pages as on your subdomain. When you go to https://subdomain.example.com however you see a page on your example.com website (most commonly the 404 not found error page).

From my experience, the most common cause for this problem with cPanel is that the subdomain directory name on the server is not identical to the subdomain name. For example, the directory name may be my-subdomain whereas your actual subdomain is mysubdomain (e.g. mysubdomain.example.com). For whatever reason the directory name must exactly match the subdomain name.

Fortunately the fix for this issue is simple. All we need do is create a symlink so that a link is created with the same name as the subdomain which then points to the directory into which your subdomain files are saved. If this doesn’t make much sense to you then contact your hosts technical support and ask them to create the symlink.

Found this useful? Please share:

Related

  • How to get Mailchimp Subscriber Popup working in WordPress
  • Easy setup CloudFlare SSL with WordPress
  • Solve the WordPress SSL 500 Error

Filed Under: WordPress

Watch Gary in action

Gary frequently adds Mailchimp instructional videos to his YouTube channel. Subscribe to keep updated.

→  Subscribe   ←

How to add an editable attachment to a Mailchimp campaign.

How to add, and send, coupon codes in Mailchimp.

Reader Interactions

Leave a Reply Cancel reply

You are here: Home / WordPress / Solution. HTTPs Subdomain Redirects to Primary Domain

Primary Sidebar

Mailchimp write about my work

Read on Mailchimp.com

Learn from a Mailchimp Pro Partner

Signup to receive info about Gary's Mailchimp beginner and advanced classes.

Sign up

Gary on Australian National Radio

Changes are coming to the Australian Spam Act

Read Gary's article in SmartCompany

Meet Gary, Mailchimp Expert

Gary is a Mailchimp Expert and Partner. He delivers Mailchimp training and consulting services in Australia, New Zealand and Singapore. Gary presents at Mailchimp events and hosts the first, and only, Australian Mailchimp sponsored event. He is M.B.A. qualified from Henley Business School, U.K.

Contact Gary for your Mailchimp needs

Footer

Customer Rating

Mailchimp Pro Partners

Contact

Contact Gary for all your Mailchimp training, consulting and integration needs.

Contact Gary.

Copyright © 2022 · Sitemap · ABN: 40800872179 · Privacy Policy · Terms of Service