not sure how to make the page public

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
jmilane
Forum Commoner
Posts: 89
Joined: Mon Aug 07, 2006 6:05 pm

not sure how to make the page public

Post 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
Last edited by jmilane on Wed Sep 13, 2006 2:47 pm, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Adjust the DNS server that runs the main domain to "beta" actually means something.
jmilane
Forum Commoner
Posts: 89
Joined: Mon Aug 07, 2006 6:05 pm

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post 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.
jmilane
Forum Commoner
Posts: 89
Joined: Mon Aug 07, 2006 6:05 pm

Post 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?
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post 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
Last edited by n00b Saibot on Fri Sep 15, 2006 12:40 pm, edited 2 times in total.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
Post Reply