Solved

serve a subdomain via a proxy ???

Posted on 2011-03-02
2
921 Views
Last Modified: 2012-06-27
HI

I'm currently using Apache 2.2 and proxying requests for a url (http://www.example.com/planning/) to an internal IP address (e.g. 192.10.11.12) and reverse proxying the same.

I've now been asked to set this up as a sub domain instead but I've not idea how to set up for example http://planning.example.com to serve the content on 192.10.11.12 (192.10.11.12 having no public access)

Any help appreciated.

Regards
Neil
0
Comment
Question by:NeilT
  • 2
2 Comments
 
LVL 3

Accepted Solution

by:
NeilT earned 0 total points
ID: 35017507
found it, uin httpd_vhost.conf file add

<VirtualHost *:*>
ProxyPreserveHost On
ProxyPass / http://192.168.111.2/
ProxyPassReverse / http://192.168.111.2/
ServerName hostname.example.com
</VirtualHost>

0
 
LVL 3

Author Closing Comment

by:NeilT
ID: 35017520
hope the answer I managed to find helps others
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
URL rewriting - LAMP 7 36
IPv6 Networking 6 95
Read Config:: values from another file 2 83
Re-negotiation handshake failed: Not accepted by client!? 8 270
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now