DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old January 4th, 2004, 11:29 AM
andyg1 andyg1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 212 andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 2 h 20 m 33 sec
Reputation Power: 9
Pointing back to my pc running as a server

This is a tricky one to explain, so please bare with me. I am working on a website at home. I have my own PC set up as a server. It runs perl scripts, PHP MySQL the works, has its own cgi-bin etc. I use it to test my HTML and CGI pages. The way I do this is, for example:
Code:
http://localhost/page1.html


I am working on a shopping cart that redirects to a third party secure server. This server gets authorisation from the bank and then redirects back to my server to a page defined by me. They use the example:
Code:
http://www.yourserver.com/authorised.html

or unauthorised.html, depending on the result of the transaction.

The problem I have is that I want to able to test this process without having to upload it to a webserver. I wondered if it was possible to get this 'callback' to come back to my PC - it is after all running as a webserver. If so, how to do this - what address do I use (it certainly isn't http://localhost/authorised.html).

My knowledge of networking, DNS, IP addresses etc is poor. I even tried typing my IP address in IE - all I get is 'FORBIDDEN'. I wondered if anyone can help with this problem?? Another thing - I am running on an ADSL line behind a router (that is permanently connected ie. I don't dial up). Could that make things worse?

Thanks in advance.

Andy
__________________
Time isn't wasted if you're wasted all the time

Reply With Quote
  #2  
Old January 4th, 2004, 04:23 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
If so, how to do this - what address do I use
Purchase a domain and use it other than localhost.
Quote:
I even tried typing my IP address in IE - all I get is 'FORBIDDEN'
Off topic, thus I won't answer this here. You as well should not post this here in the first place.
Quote:
I am running on an ADSL line behind a router. Could that make things worse?
Running ANY kind of server behind a hardware router requires a non-standard setup. When it's non-standard, be prepared to see unexpectedly errors and a big hit on reliability and performance.

Reply With Quote
  #3  
Old January 4th, 2004, 05:42 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
andyg1, I consider your entire post to be off topic as well. However, I just wanted to throw in my opinion that router's only provide a small hit to reliability and performance. I also consider routers or gateways to a network to be a standard setup. I also do not recommend buying a domain for only local use. The hosts file is the most appropriate solution for a single computer situation, although I recommend that you use a locally resolvable identical domain to the one on your server. That way you can have true testing. As for how you test the 3rd party aspect, sorry, I'm not feeling like using my creative juices.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #4  
Old January 4th, 2004, 05:58 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
I also consider routers or gateways to a network to be a standard setup
If you have any opinion against my statement: Running ANY kind of server behind a hardware router requires a non-standard setup, just don't change the wordings, say what you feel like to say.
Quote:
I also do not recommend buying a domain for only local use
It isn't for local use if you reread his issues again.

Reply With Quote
  #5  
Old January 4th, 2004, 06:15 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
I said exactly what I wanted to say. I didn't say your words cause they weren't what I wanted to say. And yes, my opinion differed from yours, and no, I wasn't hiding that fact considering the entire reply was a disagreement.

But I can see now how you read andyg1's post. This is how I read it: He already has a website out there, and it has a domain. He locally tests using localhost, and wants to know how to locally test with his bank. In that case he should create a host on his existing domain, or use his IP address and fix his webserver to allow it, or emulate the bank which takes the creative juices I'm too lazy to use on this. Perhaps I gave the guy too much credit for knowing what he was doing.

Reply With Quote
  #6  
Old January 4th, 2004, 06:31 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If you are brave enough, just quote my damn statement and reply with your opinion.
I welcome opinions and oppositions. I don't appreciate a chicken like you saying everything exactly as a followup to my original reply.
Got no gut chicken?

Reply With Quote
  #7  
Old January 5th, 2004, 03:13 AM
andyg1 andyg1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 212 andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 2 h 20 m 33 sec
Reputation Power: 9
In the first instance I apologise for possibly picking the wrong forum in which to put this post. I welcome any suggestions as to where I could put it to get a response...

Secondly, it seems my post has become a battleground between freebsd and SilentRage. SilentRage actually did correctly interpret my problem:

1) I have a domain on the www (which I pay for).
2) I use my PC at home running as a server to test my html and scripts before I upload them.
3) The bank (even for testing purposes) needs to point back to a script to interpret whether the transaction was a success of failure. It'd take me five times longer to make the scripts suitable for my real server and to upload them than it would to play about with them locally.
4) I don't need to emulate the bank. They provide a testing service.

finally:
5) I would like to use my IP address and fix my webserver to allow it

As I said, if anyone knows where I can post to find out how to do this then thankyou.

Andy

Reply With Quote
  #8  
Old January 5th, 2004, 08:20 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
heh, battleground. Nah, if it was a battleground, the battle ended the moment freebsd made that last post. I love a good debate. Really I do. But it really isn't any fun when the other person is antagonistic. Besides, nobody wants to see a flame war.

I suggest the apache forum on this site if your webserver is apache. Respectively, I suggest the IIS forum on this site if your webserver is IIS. Also, since you are asking for a simple thing, it shouldn't be very hard for me to figure out the problem (if you're using apache) and I'd be glad to help ya in private.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Pointing back to my pc running as a server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway