|
Hello! I have a site and domain set up here on Webfaction. I'd like the 'homepage' of the site (i.e. http://example.com/) to point to an external website. This isn't a problem, I can set the IP address/A Record to do that for me via Webfaction's control panel. However, I'd then like to have certain URLs NOT go to the external site. For instance, the URLs "http://example.com/blog" and "http://example.com/shows" should point to an application I have running on Webfaction. Is this even possible? |
|
Without a change in DNS, you can achieve this by adding the following to a .htaccess entry using a Static/CGI/PHP application.
Wouldn't that forward a visitor to http://mysecondsite.com? I am trying to make it so the user will appear to be in http://example.com. So: http://example.com = external site http://example.com/blog = local webfaction application http://example.com/shows = same local webfaction application Would the .htaccess allow this? What you want is a proxy, this can be done with a rule like this ,
|