LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-17-2011, 06:47 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
vhosting doesn't work on VM?


Hi folks

host - ubunut 1010 desktop 64bit
virtualizer - VirtualBox ver 3.2.10 r66523
guest (VM) - ubuntu 1010 server 64bit

I followed;
Creating Simple Virtual Hosts With mod_mysql_vhost On Lighttpd
http://www.howtoforge.com/creating-s...pd-debian-etch

to setup virtual hosting.

example.com = a registered domain
example.org = a free subdomain on "http://freedns.afraid.org/subdomain/"
(I don't have another registered domain for this testing)

Both domain points to the same public IP. The public IP is also forwarded to the local IP of the VM.

Installation went through w/o much problem. After finish "example.com" works without problem. However example.org can't be browsed.

On console ping both domains working.

Any suggestion? TIA

B.R.
satimis
 
Old 04-17-2011, 08:02 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Why would you think this could possibly be related to VM stuff? You really need to improve your understanding of what is and what is not relevant. Being on a VM is not relevant, just like the colour of the network cable is not relevant. If lighttpd serves one site then any issues relevant to an alternative host *MUST* be relevant to its config and you've said *nothing* whatsoever about it. We have no idea if you followed the guide properly or not, so simply telling us you followed a guide is of no use, or rather only suggests you didn't follow some of it right, as it's not working. Look at your log files, that's what they are there for. With nearly 3k posts on LQ you should be better than this.
 
  


Reply



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
CD rom doesn''t work yang_wayne Linux - Software 1 03-11-2009 11:07 AM
wifi doesn`t work ghodkiller Linux - Hardware 2 09-30-2008 01:25 PM
vnc4server doesn`t work! tyranus Debian 4 06-02-2006 06:08 PM
sshd doesn`t work TiCkO Linux - Networking 12 02-11-2006 05:00 PM
Wi-Fi doesn;t work on Suse 9.3 hackerarchangel Linux - Hardware 2 10-18-2005 12:59 PM

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

All times are GMT -5. The time now is 07:35 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