LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-04-2007, 06:40 AM   #1
justsimran
Member
 
Registered: Mar 2007
Location: Aus
Distribution: RHEL-4,5,UBUNTU,SUSE,FEDORA-6,7
Posts: 109

Rep: Reputation: 15
ip address hosting in apache


hii

well i am doing ip address hosting of two websites,, each having a different ip address in the configuration files of "httpd".

everything works fine when i preview my website with
http://192.168.1.12(my first website addresss) and 192.168.1.13 (my second one)

but doesnt work with dns

i already have the entry in dns saying

Code:
simran IN  A  192.168.1.12
sim    IN  A  192.168.1.13
now it shud be something like tht when i run it in explorer,,
http://simran.redhat.com (my full domain name)
http://sim.redhat.com

ps. btw i can ping everything by names(DNS),, so no problem in connecting with name domain,, but it doesnt work in explorer

IT SAYS "THE USUAL MESSAGE" """hOST NOT FOUND"""

so my question is ::: why?

cheers
sim
 
Old 04-04-2007, 09:24 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,164
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Take a look here to see the required apache configuration for IP-based virtual hosts.

Regards
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
web hosting with an internal and external ip address mindhacker Linux - Newbie 7 11-28-2006 09:38 PM
hosting with apache snutz411 Linux - Newbie 3 12-13-2004 08:50 PM
Apache and Virtual Hosting gcobb Fedora 4 10-29-2004 12:10 AM
Virtual Hosting with apache, i think... dengi Linux - Software 1 10-26-2003 09:43 PM
Apache Virtual Hosting kmac Linux - General 2 04-12-2001 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:12 AM.

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