August 8th, 2013, 07:29 PM
How to put static content onto another domain?
I am using CloudFare to host another domain (site2) and am wanting to put the static content of my original website (site1) onto that domain (site2). I have put the CNAME for site2 pointed to site1, but what now do I need to do? Do I have to copy all content from site1 to site2?
I want site1 to be the original site and site2 to host the static content in order to speed up the loading of site1.
I hope this isn't confusing. Thanks.
August 29th, 2013, 09:50 AM
Just so I am clear. You want to move HTML code ("static content") from one server to a different server, that you have access to, dynamically.
As far as I am aware this is not possible by using HTML alone.
This can be accomplished by using other program languages such as PHP.