423,834 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,834 IT Pros & Developers. It's quick & easy.

URL Masking or Reversed Proxy

P: 1
I want to host Wordpress blog on different server with different domain name like (wordpressblog.com) and I want to show it on my main domain like(maindomain.com/blog) my main domain is hosted on other server, so I want when user visit the blog they see this link (maindomain.com/blog) not the (wordpressblog.com) and when they visit other pages or posts the url show (maindomain.com/blog/post-name/)

Please help me with it I only heard about two things, 1- Link masking 2 Reversed Proxy.
Oct 31 '17 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 940
I you are using Apache as a webserver, than the first example in the docs is pretty simple (changed taking into account your input):
Expand|Select|Wrap|Line Numbers
  1. ProxyPass "/blog" "http://wordpressblog.com"
  2. ProxyPassReverse "/blog" "http://wordpressblog.com"
Dec 6 '17 #2

Post your reply

Sign in to post your reply or Sign up for a free account.