Page 1 of 2
Sending Data to 2 web servers
Posted: Fri 27 Jan 2012 6:31 am
by mickopla
This is probably a crazy question but would it be possible to send data from Cumulus to 2 different web servers and run 2 php websites while using the Saratoga Templates?? eg server A is hosting waterfordcityweather.com while server B hosts waterfordweather.com
Cheers
Mike
Re: Sending Data to 2 web servers
Posted: Fri 27 Jan 2012 9:03 am
by steve
Cumulus only supports uploading web pages to one ftp server. But you could use a 'batch' file run as an external command to ftp the files to another server, as described here:
http://wiki.sandaysoft.com/a/SFTP. WinSCP does 'normal' FTP as well as SFTP.
Re: Sending Data to 2 web servers
Posted: Fri 27 Jan 2012 12:53 pm
by mickopla
steve wrote:Cumulus only supports uploading web pages to one ftp server. But you could use a 'batch' file run as an external command to ftp the files to another server, as described here:
http://wiki.sandaysoft.com/a/SFTP. WinSCP does 'normal' FTP as well as SFTP.
Thanks Steve
Will look into that.
Mike
Re: Sending Data to 2 web servers
Posted: Fri 27 Jan 2012 1:23 pm
by beteljuice
You should be able to ftp to your 'prime' site and the 'source' the wxCUdata for the 'secondary' from the 'prime'.
I think ......
Re: Sending Data to 2 web servers
Posted: Fri 27 Jan 2012 2:51 pm
by mickopla
beteljuice wrote:You should be able to ftp to your 'prime' site and the 'source' the wxCUdata for the 'secondary' from the 'prime'.
I think ......
Would i use the software mentioned by Steve to do this or do you know of another method?
Edit: Also which files would i need to use to get the Saratoga Scripts to work.
Re: Sending Data to 2 web servers
Posted: Fri 27 Jan 2012 7:05 pm
by gemini06720
Are the two site on different hosting servers or are they both on the same hosting server but under different directories or sub-directories?
Re: Sending Data to 2 web servers
Posted: Sat 28 Jan 2012 12:59 am
by mickopla
mickopla wrote:beteljuice wrote:You should be able to ftp to your 'prime' site and the 'source' the wxCUdata for the 'secondary' from the 'prime'.
I think ......
Would i use the software mentioned by Steve to do this or do you know of another method?
Edit: Also which files would i need to use to get the Saratoga Scripts to work.
The 2 sites are on different servers.
Re: Sending Data to 2 web servers
Posted: Sat 28 Jan 2012 2:05 am
by beteljuice
As well as the main data file for the 'base' pages, there are other reports / files which may be required for extended information. Whilst do-able by scripting it would beter to find a dual ftp solution.
The example you quote suggests the same (mirrored) site ?
Re: Sending Data to 2 web servers
Posted: Sat 28 Jan 2012 2:38 am
by mickopla
beteljuice wrote:As well as the main data file for the 'base' pages, there are other reports / files which may be required for extended information. Whilst do-able by scripting it would beter to find a dual ftp solution.
The example you quote suggests the same (mirrored) site ?
Yes basically the address for my php site now is
www.waterfordcityweather.com/index.php which is long so i decided to purchase
www.waterfordweather.com which is shorter and might get improved search results in google. I want to keep the non php website
www.waterfordcityweather.com as is because its a more basic site and the base template is from Cumulus but i have modified the page.
Re: Sending Data to 2 web servers
Posted: Mon 30 Jan 2012 4:10 am
by gwheelo
If you wish identical content on the two sites - ftp to one site (A) and then on the alternate site (B) do a redirect to the first site. No one will ever notice!
On site B use an html page named index.htm containing:
<body>
<script>
location = "
http://www.site A";
</script>
</body>
That is all you need.
George Wheelock
Re: Sending Data to 2 web servers
Posted: Tue 31 Jan 2012 1:01 am
by mickopla
gwheelo wrote:If you wish identical content on the two sites - ftp to one site (A) and then on the alternate site (B) do a redirect to the first site. No one will ever notice!
On site B use an html page named index.htm containing:
<body>
<script>
location = "
http://www.site A";
</script>
</body>
That is all you need.
George Wheelock
Thanks George
Sounds simple enough to do. Will give it a try later.
Edit: That did the trick. Anyone now who goes to
www.watefordweather.com gets the mirrored website

Re: Sending Data to 2 web servers
Posted: Tue 31 Jan 2012 8:56 am
by mcrossley
I may be missing something, but couldn't you just alter your DNS entries so that both domain names point to the same server?
Re: Sending Data to 2 web servers
Posted: Tue 31 Jan 2012 8:58 am
by gemini06720
mcrossley wrote:I may be missing something, but couldn't you just alter your DNS entries so that both domain names point to the same server?
Indeed, my thoughts exactly - I have been doing that with about a dozen of registered domain names...

Re: Sending Data to 2 web servers
Posted: Tue 31 Jan 2012 4:43 pm
by TNETWeather
mcrossley wrote:I may be missing something, but couldn't you just alter your DNS entries so that both domain names point to the same server?
If they are on different hosts, that may not be possible. Most Registrar DNS setups allow you to do this at the DNS level with forwarding there though.
Re: Sending Data to 2 web servers
Posted: Wed 01 Feb 2012 6:02 am
by mickopla
mcrossley wrote:I may be missing something, but couldn't you just alter your DNS entries so that both domain names point to the same server?
Just like TNET weather said would this be possible if dealing with two separate hosts??? If so how would i do this?
Mick