How activate a aliase "" & ""

Hello again!

My blogs running at domain. I need next:


Hello, that’s very easy to accomplish, all you have to do is include the www in your Nginx .conf file, here is an example:

server {

    root /var/www/ghost;

    location / {
        proxy_set_header X-Forwarded-For 
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $http_host;

    location ~ /.well-known {
        allow all;

    client_max_body_size 50m;


If you’d like to know more about it in detailed, I’ve written a little article about it:

You need to point it to your DNS provider, I forgot about that part, for example:

In AWS, if you go to route53, you can add an ALIAS, your alias target would be and the name:

That’s almost as if you were creating a sub domain, but you’re creating an ALIAS

By the way your post is repeated: How can I setup a domain alias?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.