Hi, Need the site duplicated ( see signature for site) to 2 country domains. Site is mine and code is available Domains already resolved to server where its need to be hosted The things that will need to be changed are the 'mail to' addresses and admin/backend links I guess. Database can duplicate. Some features like revenue share ( will be ready in a week) will need to be customize for the domain url. Also on top of each site will need the country flag of all 3 domains. Simple. Let me know how this will work and can anyone do the same Rajiv
SSH logged in on old server - with SSH login enabled to new server: use rsync as below: rsync -axv --progress --stats root@www.xxx.yyy.zzz:/path/to/public_html-on-new-server/ /path/to/public_html-on-old-server/ if NOT root, then replace root by correct username@new-server for databases you make a mysqldump of all the databases you want to copy to new server then insert the backup into new server using proper mysql -syntax thats easy and fast and can all be done by YOU alone
1- How do I ssh on both servers. 2- I want to copy the site to the new domain on same server itself ( i have my own dedicated) 3- Cpanel where is copy ? Rajiv
if you have all on one dedicated server then u ssh login only that one of course then simply rsync rsync -axv --progress --stats /path/to/public_html-on-old-site/ /path/to/public_html-on-new-site/ if you have own dedicated and missing such basic knowledge ... how are you securing your server ?? or do you have a big "welcome to all hackers" on your start pages ... hackers are already knocking at your doors guaranteed and it is your liability to keep your server clean! may be you stay with one site and first learn the very basics before growing totally out of control. with cpanel i have no experience, I work my 4 servers in SSH console directly - i have exact same OD/dist at home on my laptop to simulate critical operations if needed.
Hi, So rsync command will copy the website right not move I hope . Do I changes config settings after copying files and database Rajiv
1. first learn what you do until you know what you do ! that is a simple rule of life 2. in my opinion you have by far exceeded already the limits of your current knowledge and skills. that means that you are a danger to yourself, an accident waiting to happen I hope you have nothing of real value or importance on your site for this exercises backup full site backup all db make sure you have no hacker software already installed and multiplied !! 3. to know rsync - read on your own linux computer man rsync 4. yes of course you have to configure anything relevant to paths, domain names, etc you also have to adapt your apache system config mail config and anything else as relevant to installing new domain on server also mysql configurations may need adaptation basically ALL
I will do that Hans thanks for all the help any additional security i could use there is basic firewalling. rajiv
basic firewalling NEVER nearly enough its not even a beginning - but something you do AFTER securing all site as additional feature site security is about securing scripts, pages, login procedures, permissions, user areas and much more after all that done next step might be snort and mod_security and a bunch of other options (fail2ban, DDoS prevention and similar security features) all properly configured and installed AFTER site secured that way - then you may add your basic firewalling ... your best friend for years to come is Google and thousands of howtos onliine depending on your software running you may also use search function on THIS forum to find more tips - or Google Merry Christmas