LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-12-2004, 02:57 PM   #1
TiCkO
Member
 
Registered: Oct 2003
Location: Slovenija
Distribution: Slackware 9.1
Posts: 36

Rep: Reputation: 15
VirtualHosts & apache 2.0.48


Hello. I have a little problem about VirtualHost and NameVirtualHost.

Let`s start.

I have web server and i am hosting some site, and this site has domain name. Domain is resolved to my IP, and now i must make a vhost in my config. That this domain has being redirectet to the folder of this web site.

When i add vhost in config, is all cool. But my own page with other domain not working (opens this site (first domain)).

Then i define VirtualHost with NameVirtualHost and add also my domain name, and nothing happened. If i typed first domain, or my domain opens the same page. why?

and sry for my bad english
 
Old 07-12-2004, 10:58 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
run

#/usr/sbin/httpd -S

to check whether there are problems with your vhosts definition.
 
Old 07-13-2004, 04:20 PM   #3
TiCkO
Member
 
Registered: Oct 2003
Location: Slovenija
Distribution: Slackware 9.1
Posts: 36

Original Poster
Rep: Reputation: 15
the problem is solved. thanks for help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache VirtualHosts and VSFTPd critical Linux - Software 3 09-14-2005 03:12 PM
Apache Virtualhosts + PHP error critical Linux - Software 3 08-03-2005 01:21 AM
Apache VirtualHosts Problem stratisphere Linux - Newbie 4 11-27-2004 01:20 AM
Apache + mod_ssl + virtualhosts problems rohypnol Linux - Networking 1 11-26-2003 01:48 PM
Virtualhosts in apache. where am i going wrong. SSBN Linux - Networking 20 07-11-2003 05:02 AM


All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration