# Website went blank when transferring from non www to www

**URL:** <https://meta.discourse.org/t/website-went-blank-when-transferring-from-non-www-to-www/109496>\
**Category:** Support\
**Created:** [2월 18, 2019, 10:27오후 UTC](https://meta.discourse.org/t/website-went-blank-when-transferring-from-non-www-to-www/109496 "2019-02-18T22:27:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![thegurjyot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thegurjyot/32/120516_2.png) [@thegurjyot](https://meta.discourse.org/u/thegurjyot)\
**Post date:** [2월 18, 2019, 10:27오후 UTC](https://meta.discourse.org/t/website-went-blank-when-transferring-from-non-www-to-www/109496/1 "2019-02-18T22:27:34Z")

</div>

I am trying to redirect my `domain.com` to `www.domain.com` using the process mentioned here.

> [@(Superseded) Redirect additional domain(s) to your Discourse instance](https://meta.discourse.org/t/redirect-single-multiple-domain-s-to-your-discourse-instance/18492):
>
> warning 2024-04-09 @pfaffman edited this to say that this is no longer necessary, as the current NGINX config in the [standard install](https://meta.discourse.org/t/142537?silent=true) redirects everything to https://HOSTNAME. You can test this by entering your IP address and see that it gets redirected. If you want multiple domains pointed to your server, you probably want them to have valid https certificates. To do that, follow instructions at [Set up Let’s Encrypt with multiple domains / redirects](https://meta.discourse.org/t/set-up-let-s-encrypt-with-multiple-domains-redirects/56685). So you want to redirect domain(s) to yo…

But as I rebuild the app and visited my website, the website did open with www but the website is a complete blank. A clean white tab is opening with nothing on it. I checked the developer console and found a lot of warnings and content security policy notices.  
​  
Can someone tell what the issue is? A good member of this community also suggested me to directly host the website on `www.domain.com` instead of `domain.com` but that opened some new issues with `email@www.domain.com` which I do not want. So how to redirect `domain.com` to `www.domain.com`? After this, I’ll head towards Let’s Encrypt SSL and how to manage redirections after that?

---

_[View the full topic](https://meta.discourse.org/t/website-went-blank-when-transferring-from-non-www-to-www/109496)._
