Multiple sites with Apache2

  • Smilingwolf
  • Novice
  • Novice
  • User avatar
  • Posts: 31

Post 3+ Months Ago

I have set up Apache2 to serve two seperate sites. This works well when using //localhost/ but how do you get there from outside? I am using a dlink DI-604 router. I can't figure out how to send to each site.

Any thoughts?

Thanks in advance...

SW
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

Unless you have your DNS running, you'll only be able to access by IP address, in which case you'll need to use IP based virtual hosting.

If your DNS is running, type nslookup in your command line. If it doesn't say your nameserver's name as Default Server with your IP address, you don't have it configured right.

If it does report your nameserver, do
set q=ALL
domainname.com

if it doesn't report the right information you've got something misconfigured.

If you have no idea of what I'm talking about, I'd recommand you get the latest version of ISC Bind available from http://www.isc.org/ and install it on your system (or whatever system you want to use as a nameserver)..
  • Smilingwolf
  • Novice
  • Novice
  • User avatar
  • Posts: 31

Post 3+ Months Ago

Thanks I will look into that.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.