Web Hosting Talk







View Full Version : help plz!


MasterBrian
02-14-2002, 07:25 AM
Greetings to all,
I'm writing to all of you asking help to correctly configure my server.
I'm running a Mandrake 8.0 server with apache, and I need help configuring it.
I've many configuration files to configure it, like httpd.conf, commonhttp.conf e vhost.conf.
I've setup it and it work quite good, but I've some matter.

I need to create an alias on my web server and here you comes :)

I've setup it this way
my.own.ip.address point on /var/html (in httpd.conf)
www.mydomain1.com point on /home/domain1 (in vhost.conf)
www.mydomain2.com point on /home/domain2 (in vhost.conf)

the problems are:
1) when I write my.own.ip.address in my browser I see the pages of mydomain1
1) I don't know how to create a virtual alias to have a page like
http://my.own.ip.address/mypages from /home/myuser/pages

can someone help me? please!
Thank you

ToastyX
02-14-2002, 09:36 AM
The first virtual host is used for requests without a known server name.

MasterBrian
02-14-2002, 10:41 AM
Thank you,
and how I can setup a page different from that? I've to setup a virtualhost at the first place in my vhost.conf for me? how?
Thank you.

ToastyX
02-14-2002, 11:07 AM
Yes, make your page the first virtual host.