LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2014, 09:02 AM   #31
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by battletroll View Post
is client_b windows/linux/mac???
It's Windows.
 
Old 06-13-2014, 09:06 AM   #32
battletroll
Member
 
Registered: Dec 2004
Location: Alabama
Distribution: Slackware, Solaris,Fedora, CentOS, Redhat, SGI
Posts: 65

Rep: Reputation: 18
Change the httpd.conf to look like below.
Substitute the IP ADDRESS for each interface on the server.

<VirtualHost IP_ADDRES_NETWORK_A:80>
<Directory /public/Packages>
Options +Indexes
</Directory>
ServerAdmin root@gai.net
DocumentRoot /public/Packages
ServerName packages.gai.net
ErrorLog logs/packages.gai.net_error-log
CustomLog logs/packages.gai.net-access_log common
</VirtualHost>

<VirtualHost IP_ADDRESS_NETWORK_B:80>
<Directory /public/Packages>
Options +Indexes
</Directory>
ServerAdmin root@gai.net
DocumentRoot /public/Packages
ServerName packages.gai.net
ErrorLog logs/packages.gai.net_error-log
CustomLog logs/packages.gai.net-access_log common
</VirtualHost>
 
Old 06-13-2014, 09:08 AM   #33
battletroll
Member
 
Registered: Dec 2004
Location: Alabama
Distribution: Slackware, Solaris,Fedora, CentOS, Redhat, SGI
Posts: 65

Rep: Reputation: 18
service httpd restart
 
Old 06-13-2014, 09:09 AM   #34
battletroll
Member
 
Registered: Dec 2004
Location: Alabama
Distribution: Slackware, Solaris,Fedora, CentOS, Redhat, SGI
Posts: 65

Rep: Reputation: 18
Does each network get the correct DNS entry for that segment when you do an NSLOOKUP??
 
Old 06-13-2014, 09:58 AM   #35
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by battletroll View Post
Does each network get the correct DNS entry for that segment when you do an NSLOOKUP??
Yes each network is getting DNS entry when i do NSLOOKUP.
 
Old 06-13-2014, 10:23 AM   #36
battletroll
Member
 
Registered: Dec 2004
Location: Alabama
Distribution: Slackware, Solaris,Fedora, CentOS, Redhat, SGI
Posts: 65

Rep: Reputation: 18
Try the earlier post#32 setting the ip for each interface
 
Old 06-16-2014, 02:09 AM   #37
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by battletroll View Post
Try the earlier post#32 setting the ip for each interface
Code:
<VirtualHost 192.168.50.0:80>
    <Directory /public/Packages>
        Options +Indexes
    </Directory>
    ServerAdmin root@gai.net
    DocumentRoot /public/Packages
    ServerName packages.gai.net
    ErrorLog logs/packages.gai.net_error-log
    CustomLog logs/packages.gai.net-access_log common
</VirtualHost>

<VirtualHost 192.168.51.0:80>
    <Directory /public/Packages>
        Options +Indexes
    </Directory>
    ServerAdmin root@gai.net
    DocumentRoot /public/Packages
    ServerName packages.gai.net
    ErrorLog logs/packages.gai.net_error-log
    CustomLog logs/packages.gai.net-access_log common
</VirtualHost>
I have configured it but still it doesn't work untill i make an entry in host file of windows.
 
Old 06-16-2014, 04:15 AM   #38
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,385

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Then you have a DNS issue on your Win PC's, not an apache problem.
 
Old 06-16-2014, 06:46 AM   #39
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by descendant_command View Post
Then you have a DNS issue on your Win PC's, not an apache problem.
but it is not DNS problem otherwise it would not have solved packages.gai.net to it's IP.
 
Old 06-16-2014, 06:55 AM   #40
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,385

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by sachin.davra View Post
but it is not DNS problem otherwise it would not have solved packages.gai.net to it's IP.
Then adding/removing an entry to the hosts file on the clients should have no effect on the problem.
 
Old 06-16-2014, 07:43 AM   #41
battletroll
Member
 
Registered: Dec 2004
Location: Alabama
Distribution: Slackware, Solaris,Fedora, CentOS, Redhat, SGI
Posts: 65

Rep: Reputation: 18
The DNS address for the web-server should be on the same network as the windows PC. Is it?
 
  


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
Where to Add mod_evasive configuration to Apache configuration file.? Unknown3r Linux - Newbie 1 11-04-2012 11:09 AM
apache configuration sasser *BSD 4 09-09-2012 01:25 PM
APACHE configuration hks1233 Linux - Newbie 9 02-20-2011 03:55 PM
Migrating Apache 1.3 configuration files to Apache 2 kaplan71 Linux - Software 0 03-28-2007 12:05 PM
apache configuration? jcsg Linux - Newbie 1 06-21-2004 08:08 AM


All times are GMT -5. The time now is 02:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration