Web Hosting Requests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb HostingWeb Hosting Requests

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:
  #1  
Old July 11th, 2008, 03:52 PM
Markup's Avatar
Markup Markup is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: The Holographic Universe
Posts: 75 Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 20 h 48 m 29 sec
Reputation Power: 4
Smile A small request

Hi

I have a test web server setup at home and am using WakeOnLan. I have configured my server to shutdown if it hasn't been accessed in the last half hour and is otherwise idle. What I am trying to do now is using another server write a script which tests to see if my server is online or not, if it is offline then it sends a magic packet over UDP to my server's IP and tells the user that server is being started (takes about 15 seconds) and then refreshes/redirects the page.

So basically I am looking for someone who can offer me free php/perl/python/whatever hosting which lets me use sockets. Then I will setup a dyndns webhop and voila I have a flexi-time webserver

Thanks

Last edited by Markup : July 11th, 2008 at 04:00 PM.

Reply With Quote
  #2  
Old July 11th, 2008, 08:31 PM
paulkoan's Avatar
paulkoan paulkoan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 157 paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 49 m
Reputation Power: 31
So initially I was amused that you were asking web hosting providers (such as ourselves) for free access to our services so that you could send a wake up to your own web server so you didn't have to purchase a hosting service from us

See that's cheeky right?!

But then I figured that in general, this would be a great service to offer - just issuing WOL packets as required.

And then I thought - this is the internet, everything has already been thought of:

http://www.rshut.com/products/wol/
__________________
ServWise Advanced Hosting - Better, Faster, Smarter
Linux and Windows Hosting, Shared and Reseller, Low cost domains and SSL

Reply With Quote
  #3  
Old July 12th, 2008, 05:19 AM
Markup's Avatar
Markup Markup is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: The Holographic Universe
Posts: 75 Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 20 h 48 m 29 sec
Reputation Power: 4
Talking

Quote:
Originally Posted by paulkoan
So initially I was amused that you were asking web hosting providers (such as ourselves) for free access to our services so that you could send a wake up to your own web server so you didn't have to purchase a hosting service from us

See that's cheeky right?!

But then I figured that in general, this would be a great service to offer - just issuing WOL packets as required.

And then I thought - this is the internet, everything has already been thought of:

http://www.rshut.com/products/wol/


Hi Paul

Thanks for the reply. I came across that site amongst others, but they require you to manually input your IP and MAC address. I would like it so that when I go to one of these WOL sites with a specially crafted URL it would automatically send the magic packet. All of the sites I have came across use POST form data (and rightly so), so I can't just create a query string and do it that way.

I guess I could do it with cURL and then send the data to the WOL site, but I don't know of any free hosting providers which offer that. Heck I don't really need hosting I just need 1 page Hmm, I have root access to a web server at work, but maybe that isn't such a good idea
__________________
"The real danger is not that computers will begin to think like men, but that men will begin to think like computers" -- Sydney J. Harris

Reply With Quote
  #4  
Old July 12th, 2008, 07:31 AM
paulkoan's Avatar
paulkoan paulkoan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 157 paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level)paulkoan User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 49 m
Reputation Power: 31
Actually, that site uses POST, but works with GET also.

If you try the POST you'll see the GET in the URL - so you don't even need to work out the variable sequence from the form.

Reply With Quote
  #5  
Old July 12th, 2008, 12:45 PM
Markup's Avatar
Markup Markup is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: The Holographic Universe
Posts: 75 Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 20 h 48 m 29 sec
Reputation Power: 4
Wow, it works!

I now have a self-hibernating, self-aware web server, brings a whole new meaning to ondemand

It's practical for my needs (server is used by a handful of people) but obviously I wouldn't try anything like this is the wild.

Thanks again

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb HostingWeb Hosting Requests > A small request


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 2 hosted by Hostway
Stay green...Green IT