Page 1 of 1

not sure how to make the page public

Posted: Wed Sep 13, 2006 2:30 pm
by jmilane
Hi,

Our website is hosted on our IIS server.

On the 4th floor, I built an Apache server with PHP for development.

I reference this WAMP machine by its network alias: beta.mycompany.com

The public site, http://www.mycompany.com needs to have a link in it that will open beta.mycompany.com/phppage.php

Obvious problem is, beta. is private. A simple link to beta.mycompany.com/phppage.php works fine from the office, but it wont work for people who are not on the network - not unless I am crazy.

Is there any way to do this? Any way to make the php page on the intranet available on the internet and have my Apache serve that one page?

Thanks!

J

Posted: Wed Sep 13, 2006 2:37 pm
by feyd
Adjust the DNS server that runs the main domain to "beta" actually means something.

Posted: Wed Sep 13, 2006 2:46 pm
by jmilane
feyd wrote:Adjust the DNS server that runs the main domain to "beta" actually means something.
Im sorry, I cannot follow your phrasing - I think you left a little word out or something.

I am asking this because we have no public IP addresses left - and I only need to get this one page to the public... I hate to think it cant be done.

J

Posted: Wed Sep 13, 2006 4:53 pm
by feyd
The main domain could act as a proxy interface to the internal IP. But you'll still need to adjust the DNS in some fashion to expose "beta" as a valid subdomain.

Posted: Wed Sep 13, 2006 4:59 pm
by n00b Saibot
if you want ot show only a page, you can maybe write a php script that reads the output from the internal server and outputs it as it is on the client side. no messing with DNS.

Posted: Thu Sep 14, 2006 8:17 am
by jmilane
n00b Saibot wrote:if you want ot show only a page, you can maybe write a php script that reads the output from the internal server and outputs it as it is on the client side. no messing with DNS.
It is a page, but that page is a form that is connected to a db...

Thank you, though.

I think maybe I can install PHP on that IIS server and just use the beta. server for a db server?

Posted: Fri Sep 15, 2006 10:54 am
by n00b Saibot
jmilane wrote:
n00b Saibot wrote:if you want ot show only a page, you can maybe write a php script that reads the output from the internal server and outputs it as it is on the client side. no messing with DNS.
It is a page, but that page is a form that is connected to a db...
have you tried your hand at cURL

Posted: Fri Sep 15, 2006 11:28 am
by RobertGonzalez
If the outside world cannot get to it, then using cURL or including or reading the stuff seems a bit of a hammering effort. It is easier just to use feyd's advice and map that section of the intranet server to a www readable DNS.