m |
m |
||
Line 15: | Line 15: | ||
</html> | </html> | ||
− | '''Note:''' if there is already ''index.html'' file under ''public_html'' folder, rename it to something different before creating a new one.</div> | + | '''Note:''' if there is already ''index.html'' file under ''public_html'' folder, rename it to something different before creating a new one. |
+ | |||
+ | Domain masking can be also done using .htaccess file. Add the following rewrite rule to it: | ||
+ | |||
+ | RewriteEngine On | ||
+ | RewriteRule ^something\/?$ \/something\/else\/ | ||
+ | |||
+ | This will direct every visitor accessing: | ||
+ | |||
+ | http://yourdomain.com/something | ||
+ | |||
+ | to the content of: | ||
+ | |||
+ | http://yourdomain.com/something/else | ||
+ | |||
+ | while the URL will remain unchanged.</div> |