Primary webpage


#1

HI,

Im transferring my domain to dreamhost, and I’m trying to figure out how to specify an html file to be the primary page when people go to my domain.

When people go to example.com, I want it to be re-directed to example.com/home_new.html

is this possible?


#2

I’m new here, but I believe by default the default page is set to “index.html”

there is a redirect command you can add to the .htaccess file in your Web folder, but I am not sure if that is the best way to do it.

eg:

redirect /index.html http://www.example.com/home_new.html

I’m sure you’ll get a better answer, but this is one way of redirecting pages.


#3

This can be set in a .htaccess file in example.com. DirectoryIndex tells the server which index file to look for when people visit example.com
http://www.htaccess-guide.com/index.php?a=10

-Scott