• Hi all.
    As title, I want to ask a question about Park domain for WordPress on nginx.
    I’m using nginx webserver and running wordpress website is abc.com (assume). Now I want add a park domain is xyz.com for my site (abc.com), it means when accessing xyz.com, it also pointed to abc.com.

    I have added servername is xyz.com to file abc.com.conf:

    server {
                listen   80;
            access_log off;
            error_log off;
            # error_log /home/abc.com/logs/error.log;
            root /home/abc.com/public_html;
    include /etc/nginx/conf/ddos2.conf;
            index index.php index.html index.htm;
            server_name abc.com xyz.com;
    }

    When access xyz.com it also point to abc.com (address bar showing xyz.com), but when you click to a post, It switch to abc.com/post.html.

    I want to if access to abc.com, link for post is abc.com/post.html and when access to xyz.com, link for post is xyz.com/post.html.

    How to do it. Thank you very much!

  • The topic ‘Park domain for wordpress on nginx’ is closed to new replies.