Web Hosting Talk







View Full Version : Automaticly copy a website for backup


everyone
08-16-2001, 08:19 AM
Hi. I have a website that I will be running on my own on a Windows 2000 PC. I also own a dedicated Linux server. How would I (if it is possible) have my website on the Windows 2000 computer automaticly sent to the dedicated server? I wanted to point the secondary DNS to my server incase my other machine is down.

ALSO

Would it be possible for me to setup the DNS on my dedicated server and have it redirect to the IP address of the Windows server? If so, how would I do it? And if I am having another server that is ONLY for mail (a mail server), do I just set a subdomain and direct it to the IP address?

Thank you.

Gunzour
08-16-2001, 07:17 PM
There are probably a lot of ways you can accomplish this.

One way I can think of is to configure the ftp service on your Win2K box, giving an FTP user access to your document root. Then on the Linux box, write script to automatically log in to the Windows box and FTP everything down to the linux box. If you're a Linux guy that knows how to do some scripting, this won't be too hard.

Another idea would be to schedule a task on your Win2k box which winzips up your document root, then emails it to your Linux server.

As for your DNS questions, is your dedicated server provider handling your DNS? They should be able to help you with that. You can have them create a record for mail.yourdomain.com that points to a different IP than www.yourdomain.com.

Doug