LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2006, 01:10 AM   #1
ankit_mcgill
Member
 
Registered: Aug 2005
Location: Montreal
Distribution: OpenSuse 10.3
Posts: 65

Rep: Reputation: 15
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
 
Old 03-08-2006, 02:25 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 03-08-2006, 09:45 PM   #3
ankit_mcgill
Member
 
Registered: Aug 2005
Location: Montreal
Distribution: OpenSuse 10.3
Posts: 65

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TigerOC
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.
Thanks TigerOC ... i guess i should have explained it in more detail.

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
 
Old 03-09-2006, 08:25 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally Posted by ankit_mcgill
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 ....
You haven't explained the ....
Quote:
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 ????
You would have to find someone with an always on system to host a page for you. Change the ip address at dyndns and then stop your xp system updating the address.
 
Old 03-09-2006, 05:21 PM   #5
ankit_mcgill
Member
 
Registered: Aug 2005
Location: Montreal
Distribution: OpenSuse 10.3
Posts: 65

Original Poster
Rep: Reputation: 15
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...... ????
 
Old 03-10-2006, 02:17 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reqest for html page from server mehro Linux - Networking 3 01-23-2006 08:37 PM
Server locking on page loads? Which? I_AM Linux - Software 2 11-02-2005 09:21 AM
Network/Server Status Page kdepa Linux - General 5 01-16-2005 11:24 PM
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 12:35 PM
Offline Dial-Up SMTP Server Setup LinuxGeek Linux - General 0 08-04-2002 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration