1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Rep Power

    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.
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Rep Power
    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.

IMN logo majestic logo threadwatch logo seochat tools logo