Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a domain and a second domain I've setup However I want users to goto and only see

The forum is SMF. Could anyone point me in the right direction? Maybe I have to use Apache ReWrite rules? I'm not sure.

To be clear, I never want the user to know they are actually browsing on the domain.

thank you!

share|improve this question
How deep to you want to hide ? If both are on different servers, they can see the IP / Geo localisation / ASnumber / reverse DNS / http 404 specific error – Mathieu Chateau Feb 4 '10 at 18:48

2 Answers 2

up vote 2 down vote accepted

Have proxy Sort of like (if your using apache):

<virtualhost *:80>
   proxypass /
   proxypassreverse /  

Although setting up the forums under in the first place would be easier.

share|improve this answer
Problem with this is I'm using cpanel on shared hosting. Dont think I can do this – shaiss Feb 4 '10 at 19:03
You may be out of luck. I looked around the cpanel demo and there doesn't appear to be support for proxying. – David Feb 6 '10 at 3:44
FYI I had to enable "proxy_module" and "proxy_http_module" in WAMPserver for this to work – D.Tate Jul 23 at 19:16

you could point to the and there setup a virtualhost to handle

You aren't trying to do illegal stuff, are you ?

share|improve this answer
LOL no. Just hosting a forum for a friend's site on my server. Could you elaborate a bit please? – shaiss Feb 4 '10 at 18:53
On your friend dns, make point to your server IP. On your server, create a virtualhost which match and contains your forum stuff. That simple, even no need for /forum, point it directly to the good root folder – Mathieu Chateau Feb 4 '10 at 19:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.