Chat Online
Support

Forum

A place for Dynadot and community experts alike to ask questions, share ideas, and more.
a bit of a newbie
2/27/2007 01:00
How come whenever I add a file or html code I cant get it to be on just my domain name?

e.g. I want an intro page when you go to www.mydomain.com but instead you can only view the content by going www.mydomain.com/~~file~~

Ive been trying to figure this out for days...

can anyone help me?
Reply Quote
2/27/2007 22:38
e_h_rochedale south_au's answer appears to be correct.  You will need to create a 'index.html' or 'index.htm' file which will serve as your homepage or your intro page.

When you visit a domain, your web browser automatically searches for a 'index.html' or 'index.htm' page to load.  If it cannot find either of these files, it will return an error.

So, visiting http://www.mydomain.com essentially means that you'll be visiting http://www.mydomain.com/index.html or http://www.mydomain.com/index.htm.

By the way, the 'index.html' file takes priority over 'index.htm' files if both files are in the same directory.
Reply Quote
Posted By hekler
2/27/2007 01:42
Create your intro page and call it index.html  When you type in your domain name - presto in 99% of cases.
Reply Quote