Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-12-2004, 01:57 PM   #1
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, 09:58 PM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49

#/usr/sbin/httpd -S

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

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


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 02:12 PM
Apache Virtualhosts + PHP error critical Linux - Software 3 08-03-2005 12:21 AM
Apache VirtualHosts Problem stratisphere Linux - Newbie 4 11-27-2004 12:20 AM
Apache + mod_ssl + virtualhosts problems rohypnol Linux - Networking 1 11-26-2003 12:48 PM
Virtualhosts in apache. where am i going wrong. SSBN Linux - Networking 20 07-11-2003 04:02 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:28 AM.

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