LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-19-2012, 06:45 AM   #1
Flashpowa
LQ Newbie
 
Registered: Apr 2012
Posts: 4

Rep: Reputation: Disabled
Apache2 VirtualHostt


Hello Everyone!

I have done an apache2 server with two Virtual hosts, looks like:

<VirtualHost 192.168.xxx.xxx:xx>
ServerName www.creativevision.hu
DocumentRoot web/cv
ServerAdmin ...
</VirtualHost>


<VirtualHost 192.168.xxx.xxx:xx> (same ip)
ServerName www.molcontrol.creativevision.hu
DocumentRoot web/mc
ServerAdmin ...
</VirtualHost>

but the subdomain opens the main creativevision.hu domain.

DNS server works on Windows correctly.

Please help me

Sincerely,

Flashpowa
 
Old 05-19-2012, 07:12 AM   #2
JSkywalker
Member
 
Registered: Aug 2007
Distribution: openSUSE
Posts: 102

Rep: Reputation: 24
Do you have a line in your httpd.conf like this:
NameVirtualHost 192.168.xxx.xxx:xx
 
1 members found this post helpful.
Old 05-19-2012, 08:43 AM   #3
Flashpowa
LQ Newbie
 
Registered: Apr 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank You, Your answer solved
 
  


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
[SOLVED] BASH: service apache2 start => check apache2 response dragonetti Linux - Newbie 2 10-29-2011 11:01 AM
[SOLVED] Compiling my own apache2 on debian -- no /usr/sbin/apache2 ??? jippen Linux - Server 2 11-30-2009 03:21 AM
Apache2 - have to restart apache2 process every 10 mins to clear /tmp directory.... levi dehaan Linux - Software 8 09-01-2009 06:34 PM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt SUSE / openSUSE 14 04-18-2006 11:36 AM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:14 PM.

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
Open Source Consulting | Domain Registration