English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

hi all
i want my visitors to see this page
www.mydomain.com/smart.html
when they enter my site instead of
www.mydomain.com/index.html

how do i do so ?
thanks

2007-12-11 07:38:45 · 5 answers · asked by Hello 1 in Computers & Internet Programming & Design

5 answers

Create an index.html page, with the following content:




MyDomain




2007-12-11 07:46:58 · answer #1 · answered by Stefan C 3 · 1 2

If your website is being hosted with a hosting company, you maybe able to change the default index file name through your control panel, or possible by contacting your hosting company.
If your running your own server you can modify your config file to change the default file.
For apache web servers the config file is httpd.conf located at (~/www/conf/httpd.conf)
look for the line
DirectoryIndex index.htm index.html index.php index.php3 default.html index.cgi
append your smart.html to the list of files to search.

2007-12-11 15:51:15 · answer #2 · answered by Securegeek 3 · 1 0

i wud first suggest giving into standards and calling it index.html or defualt.html other wise, do a redirect, create a index.html with



Your Page Title


Optional page text here.



Redirecting the user to smart.html instead of changing the body location as suggested above. this makes sure all links are consistant aswell :)

2007-12-11 15:50:24 · answer #3 · answered by Seán Mac Aodha 2 · 0 2

If your web server is apache, create a .htaccess file in your web root directory, and place the following line in it:

DirectoryIndex smart.html

2007-12-11 15:56:07 · answer #4 · answered by daa 7 · 0 0

you need to redirect them using a .httaccess

sample:

Redirect 301 /index.html http://www.example.com/smart.html

2007-12-11 15:51:38 · answer #5 · answered by ramric 3 · 0 1

fedest.com, questions and answers