# Redirection from https://www.mydoimain.com/ doesn't work

**URL:** https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788
**Category:** Support
**Created:** [August 3, 2019, 11:45am UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788 "2019-08-03T11:45:00Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [August 3, 2019, 11:45am UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788/1 "2019-08-03T11:45:00Z")

</div>

I managed to install the site but I don’t know why the redirection from `https://www.mydoimain.com/` doesn’t work.

the rest of the addresses work, that is:  
`https://mydoimain.com/` ===\> `https://mydoimain.com/ `  
`http://mydoimain.com/` ===\> `https://mydoimain.com/`  
`http://www.mydoimain.com/` ===\> `https://mydoimain.com/` (also work )

the problem is  
http **s://www**.mydoimain.com/ - security error  
What’s wrong?

---

<div class="post-metadata">

### Author: ![Tracey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tracey/32/149153_2.png) [@Tracey](https://meta.discourse.org/u/Tracey)
#### Post date: [August 3, 2019, 12:38pm UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788/3 "2019-08-03T12:38:37Z")

</div>

TYPO ? lol try `https://www.mydomain.com/`

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [August 3, 2019, 1:00pm UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788/4 "2019-08-03T13:00:50Z")

</div>

> [@eextra](#):
>
> What’s wrong?

The Problem is this:

> [@eextra](#):
>
> http **s://www**.mydoimain.com/ - security error

Security error usually means that the SSL certificate is not valid for given domain. Have you installed a SSL certificate?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 3, 2019, 1:05pm UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788/5 "2019-08-03T13:05:07Z")

</div>

You don’t have a https cert for the www. You can search here for how to create a very cert for multiple domains, but you’ll need to modify those and it’s a bit tricky.

The easier solution I to use www instead of using the bare domain and have [forcewww.com](http://forcewww.com) redirect to the www for you.

---

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [August 3, 2019, 1:51pm UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788/6 "2019-08-03T13:51:40Z")

</div>

but I’m gonna be right there. If I installed lets encrypt then why shouldn’t I have a certificate for www?

Why do I need to use external solutions?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 3, 2019, 2:01pm UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788/7 "2019-08-03T14:01:21Z")

</div>

If you want to be right then you can try [Set up Let’s Encrypt with multiple domains / redirects](https://meta.discourse.org/t/setting-up-let-s-encrypt-with-multiple-domains/56685).

---

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [August 3, 2019, 2:13pm UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788/8 "2019-08-03T14:13:41Z")

</div>

Do I lose something in positioning(seo) without having this cerficate?

Can an external premium ssl certificate (from namecherp etc) help or only complicate the matter?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 8, 2023, 5:04pm UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788/9 "2023-02-08T17:04:41Z")

</div>



---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 9, 2023, 3:42am UTC](https://meta.discourse.org/t/redirection-from-https-www-mydoimain-com-doesnt-work/124788/10 "2023-02-09T03:42:44Z")

</div>


