Skip navigation
Currently Being Moderated

How to make a php the default page of a web site?

Oct 21, 2010 12:39 PM



I am new to Dreamweaver and have the following simple question.  I have a php file, call it home.php, which I want executed when people enter my site, i.e. when they write  I am getting an error. When they write  there is no error and my site displays fine. However I do not want to force upon my visitors to have to remember appending home.php.


So, should mean






  • Currently Being Moderated
    Oct 21, 2010 12:46 PM   in reply to

    Your web host can tell you the default name set up for a file name on their server which does not have to be specified for the server to serve that file without further detail.


    Normally, what's known as the home page on a website is actually a file named index.php in the root (or highest level) directory on the server (but not always)

    Mark as:
  • Currently Being Moderated
    Oct 21, 2010 12:44 PM   in reply to

    Use index.php.


    The default domain name home page is whatever your server host tells you to use.  99.9% of the time index will do the job.  If not, contact your host.


    Nancy O.

    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points