LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-22-2009, 06:05 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Rep: Reputation: 34
Can't find web site with a local IP address.


I’m running Centos 5.3 and I set up a web site on the local server with a 192.168.1.71 address.

I followed (copied) the web entries in the following directories and files for a web site which already is working and I can bring it up locally at 192.168.1.90, this is also the IP of the server which these web sites are running on.

I’ve made the needed entries in the following places…copies of the working web site except for names and IP’s:

/etc/httpd/conf/httpd.conf
/var/named/chroot/etc/named.conf
/var/named/chroot/var/named/etc
/var/named/chroot/var/named/internal/newsite.com
/var/named/chroot/var/named/masters/newsite.com.external.hosts

I’ve also made entries for pointers in”
/var/named/chroot/var/named/masters/216.192.15.3.rev

Like I said above I just found out where the file (entries) were for the web site which works and copied in new entries in those locations.

I can’t for the life of me think why I can’t even ping the .71 address.

All my web sites on my W3K server are working with any problems it’s just this new one on the main server which I can’t see to get to work as this isn’t a Front Page site so I didn’t want to put it on the W3K machine.

As far as the directories locations go, the person who helped me set this server up and install Centos has far more experience with Linux then I do so where things go were his call. Hope it’s correct.

I’m a newbie at that his and any help will be appreciated.

Thanks
 
Old 09-23-2009, 11:12 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I can’t for the life of me think why I can’t even ping the .71 address.
See if there is a firewall on the server which blocks ping requests
See if the webserver is running, and if port 80 is open on the firewall.
 
Old 09-24-2009, 09:36 AM   #3
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Original Poster
Rep: Reputation: 34
Thanks,

It's non of the above.

It turned out to be an Apache httpd.conf issue with the 'Named Virtual Hosts' entry which I didn't understand.

A Linux person from my old job got on the the system and helped me repair things.

The DNS was O.K. The domain in questions has not yet been pointed to my server so the person doing the development of the web site just needs to test with something which looks like 'http://www.mysite.com.

It works locally because of the way this person set to the entries in httpd.conf.

When everything is ready to I just have to change a few things and I'm ready to go.
 
  


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
Squid redirect web address to a local ip mudi Linux - Newbie 1 07-27-2009 05:59 AM
Find real ip address using link local address, mdns/zeroconf dannemanare Linux - Networking 0 01-17-2008 04:31 AM
command to find ip address in a local network babu198649 Linux - Newbie 9 12-22-2007 07:09 AM
Fake Web Address on Local Server Rundi Linux - Networking 9 06-28-2005 05:08 PM
Assigning site-local ipv6 address to an interface goto Linux - Networking 0 03-24-2003 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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