Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Virtual Domain setup question

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  Apache (v)hosts on separate machines? Only 1 IP, ..  
Author Message
mikelany

External


Since: Mar 12, 2004
Posts: 3



(Msg. 1) Posted: Fri Mar 12, 2004 6:03 pm
Post subject: Virtual Domain setup question
Archived from groups: alt>apache>configuration, others (more info?)

Greetings,

I am setting up a Fedora server, and trying to configure Virtual Hosts via
Apache that ships with the Fedora.

I kindof got it working, but not quite.
I have it setup with the default server, a 1 virtual host at the moment
configured as a named host. Both run on standard port 80.
From the outside, if I go to www.domainname.com, I get the default
Fedora/Apache page that comes from /var/www/error/noindex.html.

If I go to www.domainname.com/index.html I get the correct web page.
It's document home is /webpages/www.domainname.com
And the index.html exists there.

Index.htm and Index.html are listed to be used as default pages in both the
default and virtual domain sites.

So, how can I get just www.domainname.com to the correct virtual hosted
index.html?

Thank You for any help!
Mike Lany...

 >> Stay informed about: Virtual Domain setup question 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 2) Posted: Sat Mar 13, 2004 10:33 am
Post subject: Re: Virtual Domain setup question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In alt.apache.configuration Mike Lany <mikelany DeleteThis @cox.net> wrote:
 > From the outside, if I go to <a style='text-decoration: underline;' href="http://www.domainname.com," target="_blank">www.domainname.com,</a> I get the default
 > Fedora/Apache page that comes from /var/www/error/noindex.html.
 > If I go to <a style='text-decoration: underline;' href="http://www.domainname.com/index.html" target="_blank">www.domainname.com/index.html</a> I get the correct web page.
 > So, how can I get just <a style='text-decoration: underline;' href="http://www.domainname.com" target="_blank">www.domainname.com</a> to the correct virtual hosted
 > index.html?

Check the DocumentRoot you configured in your virtual host, it's
probably a '/' too much or not enough in the configuration. Check
also the DirectoryIndex directive to be sure that index.html is
listed as default index file to return.

Davide

--
| He knows all about using Microsoft Word or Excell, and this makes him
| a skilled computer support person. (The fact that he should be
| accompanied everywhere by an escort of police motorcycles with sirens
| warbling "LUSERluserLUSERluserLUSER ..." notwithstanding.) --Charlie<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Virtual Domain setup question 
Back to top
Login to vote
mikelany

External


Since: Mar 12, 2004
Posts: 3



(Msg. 3) Posted: Sun Mar 14, 2004 12:23 am
Post subject: Re: Virtual Domain setup question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Got it - Thank You for your help!
It was the Directory Index.

Thank You...Mike Lany...


"Davide Bianchi" <davideyeahsure RemoveThis @onlyforfun.net> wrote in message
news:c2udh3$2273k8$2@ID-18487.news.uni-berlin.de...
 > In alt.apache.configuration Mike Lany <mikelany RemoveThis @cox.net> wrote:
  > > From the outside, if I go to <a style='text-decoration: underline;' href="http://www.domainname.com," target="_blank">www.domainname.com,</a> I get the default
  > > Fedora/Apache page that comes from /var/www/error/noindex.html.
  > > If I go to <a style='text-decoration: underline;' href="http://www.domainname.com/index.html" target="_blank">www.domainname.com/index.html</a> I get the correct web page.
  > > So, how can I get just <a style='text-decoration: underline;' href="http://www.domainname.com" target="_blank">www.domainname.com</a> to the correct virtual
hosted
  > > index.html?
 >
 > Check the DocumentRoot you configured in your virtual host, it's
 > probably a '/' too much or not enough in the configuration. Check
 > also the DirectoryIndex directive to be sure that index.html is
 > listed as default index file to return.
 >
 > Davide
 >
 > --
 > | He knows all about using Microsoft Word or Excell, and this makes him
 > | a skilled computer support person. (The fact that he should be
 > | accompanied everywhere by an escort of police motorcycles with sirens
 > | warbling "LUSERluserLUSERluserLUSER ..." notwithstanding.) --Charlie<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Virtual Domain setup question 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]