default page

Winta

Verified User
Joined
Dec 2, 2003
Messages
25
I have just received a new server but when i type in the ip adress i get the standard page
Hey, it worked !
The SSL/TLS-aware Apache webserver was
successfully installed on this website

I tries to upload a pgae but it doesnt change
with ftp i see teh folders domains==> default , sharedip and suspended ip
Wich index.html do i have te replace to see my own index.html???
 
the index page you are seing is loaded out of the /var/www/html directory.
In order to see the default domain for a particular user you use server_IP/~username
This works for all accounts.
 
Thanks for your reply jmstacey; it helped me also.

I didn't want this Apache page coming up if customers viewed my IP directly, so I replaced it with a javascript redirect to my site with vi on ssh. It was really simple once you gave the location of that file.
 
The default DocumentRoot path can also be changed in the httpd.conf file to wherever you like. Very usefult, to help avoid trying to keep track of multiple directories.
 
Back
Top