View Full Version : redirect my domain to the folder
calafat
03-21-2005, 11:23 PM
I have my domain http://www.mydomain.com and i want to redirect htpp://www.mydomain.com/folder
I trie by the Control Panel but i d'ont have success.
Thanks
jlasman
03-22-2005, 10:43 AM
Either create a redirect in an .htaccess file, or in an index file at the root level.
Jeff
calafat
03-22-2005, 03:15 PM
Originally posted by jlasman
Either create a redirect in an .htaccess file, or in an index file at the root level.
Jeff
Of course but i didn't know what.
I investigate and i edit in .htaccess file the next line:
DirectoryIndex /myfolder/myfile.*
Where "myfile" can to be a file *.html, *.php, *.pl, etc to execute (ex: index.html, index.php, ) and my folder is the directory .
So, anybody can to type the name of domain in the browser (for example: http://www.mydomain.com) then execute the file into the folder.
Sorry, if there is errors for my english because i'm spanish.
Bye
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.