Website doesn't open by default, only goes to the directory

Status
Not open for further replies.

aukatrau

New Member
Messages
3
Reaction score
0
Points
0
Ok im sure this question has been asked a million times but I can't find the answer. I registed a domain name and added it through the addon domain name and I put in the correct DNS servers for my domain. The problem is when I key in my domain on a web browser it shows the directory (lists cgi-bin, index.html, etc) but doesn't open the website unless you click on the index.html file. How would I automatically make it go to the website?
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
what is the domain you are trying to addon?
 

gomarc

Member
Messages
516
Reaction score
18
Points
18
You want to share with us your website link?

That would help check it out.
 

aukatrau

New Member
Messages
3
Reaction score
0
Points
0
Yeah sorry for not including it.
Its majestic-computing.info

Any help is appreciated. Thanks.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Some possibilities:

1. Your index file is spelled Index.html and not index.html, which is what Apache is looking for.

2. You have an .htaccess in a higher directory that sets

DirectoryIndex index.php

or something similar.

Solutions:

1. Rename Index.html to index.html

2. Add a .htaccess file to the addon directory with

DirectoryIndex index.html

OR

change the .htaccess in the higher directory to look for index.html like:

DirectoryIndex index.php index.html
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Yeah sorry for not including it.
Its majestic-computing.info

Any help is appreciated. Thanks.

Change Index.html to index.html (lowercase i); x10's on Linux, which is case sensitive :)


Edit: GAH! NINJA'D BY DESCALZO!

Edit 2: AND by gomarc?! God I was slow >_<
 
Last edited:
Status
Not open for further replies.
Top