Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtual host port redirect

Status
Not open for further replies.

vortmax

Technical User
Aug 1, 2006
46
US
I am running apache 2 on linux (ubuntu) and am hosting two (possibly more) seperate sites. I've have successfully configured virtual hosts so that the two sites resolve to distinct different names.

On this server, I need to install splunk. Splunk is a log file indexing and analysis package that uses a web interface. By default this package is accessible through port 8000. Right now, I can append :8000 to either of my sites and hit the splunk webpage. I need to make it so that this only works with one of the sites.

So = splunk login page
= nothing

It would be even better if I could disable the :8000 completely and make an alias that would point to it.

So = nothing
but = splunk login page.

Any thoughts?
 
I would use another IP, bind splunk to port 80 on one IP and bind your other web server to the old ip specifically. That way they won't interfere with each other.

eugene
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top