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 07-23-2014, 08:37 PM   #1
linuxiel
LQ Newbie
 
Registered: Jul 2014
Posts: 10

Rep: Reputation: Disabled
Pound configuration


Hi Guys any help would be good. Im having a problem with a pound configuration

I have 3 sites running in the backend on 2 servers.

My problem is I can't seem to get pound to redirect by hostname properly for one of the domains

if I go to site1.com no problem
If I got to site2.com.au, no problem
If I go to site2.com it goes to site1 ??

My config:

Code:
ListenHTTP
        Address 0.0.0.0
        Port    80

        ## allow rpc
        xHTTP 4

        Service
		HeadRequire "Host: *.*site1.com.au.*"
                BackEnd
                        Address 192.168.0.20
                        Port    80
                End
        End

	Service
                HeadRequire "Host: *.*site2.com.au.*"
                Backend
                       Address 192.168.0.50
                       Port    80
                End
        End


	Service
                HeadRequire "Host: *.*site2.com.*"
                Backend
                       Address 192.168.0.50
                       Port    80
                End
        End

	
End
 
Old 09-16-2014, 06:01 PM   #2
linuxiel
LQ Newbie
 
Registered: Jul 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Well I finally figured it out so I though I would update this for anyone interested.

It was a ( extremely frustrating ) DNS Issue. Site2.com DNS was pointing to site1.com.au because they are hosted on the same IP.
For some reason ( a TCP/IP expert might be able to explain ) even though it resolved the IP address, somewhere in the headers ( im guessing ) it put site1 not site2.

My DNS provider did not even have an option to check or change this because of their screwy system so I changed the nameservers to my own and hosted site2 myself.

Then added the ip rather than site1 to resolve its DNS and hey presto.
 
  


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
How to configure nginx as replacement for Pound? martdj Linux - Server 2 07-31-2011 02:01 PM
Pound on CentOS 5 ballistic509 Linux - Server 5 09-06-2010 12:21 PM
Pound and Ulimit m.mancio Linux - Server 0 10-26-2009 10:39 AM
pound reverse proxy noir911 Linux - Server 1 07-31-2009 09:17 PM
Pound 1.8 depdiver Red Hat 2 01-21-2005 11:25 AM

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

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