Keeping in sync one website used under several domain names

I am working on a website which is going to run under several domain names. So far I am manually, via FTP, uploading every change but the number of websites is going to increase pretty soon and make this way of working unusable, they are going to be about15 domains.

Is there anyway to keep files in sync between my PC and all the domains (except the web.config) ?

If and only if you are using Linux then investigate rsync.

Edit:

I am working on a website which is going to run under several domain names.

I am intrigued as to what you hope to gain by duplicating content across several domains? Personally I think unique content gains more SEO “Brownie Points”.

  1. I should have specified that I am working on an IIS using .NET

  2. You’re absolutely right about unique content but: who said it was “duplicating content across several domains” ? Not me. It is the same website as far as its plumbing is concerned but meta tags, titles, texts and actual data are different. That is why the web.config (.NET stuff) will be different between each domains.

Whoops, sorry about that, I misinterpreted the original post that stated “I am working on a website which is going to run under several domain names”

I have no “IIS using .NET” knowledge.

Using Linux and a MySql Database allows me to have “tailored/configured” web-pages, on different sites, all using the common MySql data. I am sure this technique could be used on IIS and .NET? Once the sites are setup there is only a single database to maintain.

The programing part is done and the website works fine.

My only problem so far is replicating change in the website structure across all servers without having to do it manually. I checked out rsync you mentionned earlier on, I need something like that but on IIS.

Are you saying that the code base is duplicated between different servers but is essentially the same for each site. If so you should look into using some type of version control system. Git offers hooks that provide a very sophisticated architecture for automating code updates based on specific actions. I don’t have a solution for the db. That is one of trickiest things to sync and has been mostly site/project specific in my experience. Drupal 8 has the best strategy for that. There are probably a lot things that can be learned from Drupals continuous integration features.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.