server offline page
hi,
since i am running my website on my own webserver (on laptop running linux) it's not possible to have it up 24x7. is there a way that i can make a page that gets displayed whenever someone tries to access my website when my laptop is closed ?? thanks a |
I am making several assumptions regarding your setup so in general all requests for your domain name would be directed to your ip address (where your modem/router is located). You have 3 basic options;
1. most isp's offer some webspace; 2. your domain registrar probably has a placeholder for your domain name; 3. you have another computer on your own home lan that can run apache; The first 2 above would require that each time you go to the admin section of the registrar and change the address of the ip to which requests are sent. 3 requires that you change the ip address on the modem/router to which requests are sent. |
Quote:
I am running my apache serever on my lan laptop and i am using DYNDNS service to update my domain name with my current ip address (my ip is dyanamic) . also i am using dydndns software tool which resides in the taskbar of my xp computer (also on the lan ) which continously updates my ip address. Now i can acheive what i want by changing the ip address in my dyndns.org account to some static ip where my server offline page resides, the moment i stop my ip address .... My question is how do i go about doing that assuming i have a static ip address xxx.xxx.xxx.xxx where my server offline page is ???? thanks a |
Quote:
Quote:
|
hey tigerOC,
ok...assuming i find someone that has a static ip address and i put my offline page . you said that i should change the ip address in my dyndns account and then stop the server is there a way to do do is using a script...... ???? |
I don't use dyndns but assume they require login. You should be able to update the dyndns account with a script. Have a look for the dyndns scripts used on Linux boxes as it should be possible to modify it for this purpose. You must also stop the app on the xp box from updating the ip address as well.
|
All times are GMT -5. The time now is 02:25 PM. |