LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 09-17-2009, 04:26 AM   #1
ramjam
LQ Newbie
 
Registered: Sep 2009
Location: Finland
Distribution: ubuntu
Posts: 1

Rep: Reputation: 0
apache virtual hosts


Hi! First I have to apologise, I am new to Apache, and need help to correct my own mistakes. I had problems connecting to the main site on my server, and changed things so that all requests went to that main site. I did it using a tutorial, I can't remember what I did, and now whatever address I try to use, I end up at the same site, even on different server IP's.
Is anyone prepared to help someone as stupid as me, and point me in the right direction so that I can use virtual hosts?
I'm using apache 2 and ubuntu on a virtual private server

Last edited by ramjam; 09-17-2009 at 04:29 AM.
 
Old 09-17-2009, 06:15 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
on the virtual host itself in the apache configuration, did you change the listen address from say ip 192.168.0.54:80 (replace with your own IP) to 0.0.0.0:80? This sounds like the most likely situtation to me. Change it back to listen IP:listen PORT if you did.
 
  


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 2 and virtual hosts Ephracis Linux - Software 2 06-16-2008 05:37 AM
Apache Virtual Hosts jarrell Linux - Server 6 07-16-2007 11:10 AM
APACHE - Virtual Hosts luca2 Linux - Networking 3 12-27-2005 07:32 PM
Apache/Virtual Hosts Help C-Squared Linux - General 9 08-04-2003 12:45 PM
Apache Virtual Hosts (again) scatcat Linux - General 1 10-17-2002 09:51 AM


All times are GMT -5. The time now is 12:13 PM.

Main Menu
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