1753631 Members
5709 Online
108798 Solutions
New Discussion юеВ

webpage

 
SOLVED
Go to solution
Michael_33
Regular Advisor

webpage

Hi all,

the webserver is called thecall.a.b.c
I have setup httpd.conf like this:

DocumentRoot "/opt/htdocs/welcome.html

but when I type thecall.a.b.c, it said

Not Found

The requested URL / was not found on this server.

but when I key in http://thecall.a.b.c/welcome.html
everything is ok.

how can I just type thecall and go to the welcome page directly?
4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: webpage

I believe you need to modify your httpd.conf file so that it sees welcome.html as one of the default document names. Normally index.htm and index.html are defaults. If you search through the file for index.html you should be able to find the appropriate section to modify.

Once that is done you will probably have to stop and restart the web server process.
Steven Sim Kok Leong
Honored Contributor

Re: webpage

Hi Michael,

Modify the DirectoryIndex in your httpd.conf. Add welcome.html to the list.

# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
DirectoryIndex welcome.html index.html index.htm index.shtml index.php index.php4 index.php3 index.cgi

Hope this helps. Regards.

Steven Sim Kok Leong
someone_4
Honored Contributor

Re: webpage

hi,
change your welcome.html to
index.html or index.htm


~Richard
Michael_33
Regular Advisor

Re: webpage

Great!
Thank you so much!!!