April 26, 201016 yr I have a server with it's own domain and I want to make a folder within that server and forward a domain I own to that folder within a different sever. The way I'm doing it is using a frame forwarding service. which all the links appear as the other domain names extensions. Can I do anything to avoid this using DNS? Or some other form of doing it. Site Example
April 28, 201016 yr You can do this using some rewrite rules in your web server's .htaccess file. Something like this should do it: RewriteCond $1 !^folder1/ RewriteCond %{HTTP_HOST} ^www\.domain\.com RewriteRule (.*) /folder1/$1 [L]
April 29, 201016 yr Author How do I edit this code you have gave me to fit into my site. Example: RewriteCond $1 !^ea/ RewriteCond %{HTTP_HOST} ^www\.enzoamata\.com RewriteRule (.*) /ea/$1 [L]
Create an account or sign in to comment