Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

How to do Domain Mapping/Masking

$
0
0
We have a wordpress mulsite site with multiple subsite. Below is the sample of a subsite url

Subsite 1: example.com/tw/en

We want to mask that domain and to show user example.com.tw/en or example.tw/en but at the same time then should still be able to access example.com/tw/en.

All these 3 domains: example.com/tw/en, example.com.tw/en, example.tw/en will show the same website.

How can we do it on nginx?

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>