Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5774 Weergaven

I have designed a client's website on odoo. I was not sure whether to approve it but fortunately, it has been approved. Now I need to migrate the website to another hosting and domain provided by the customer. Please someone help me!

Avatar
Annuleer
Beste antwoord

Hi,

You can try the following method.

1.Install Odoo on the new server once it has been set up.

2.To transfer an Odoo server, you must first create a backup of it. Make a "Backup" by going to the odoo database manager. "Restore Database" will help you download the backup and transfer it to the new server.

3.On your domain provider's website, update the DNS. Update an "A" record with the new IP (new server IP).

4.Consider that a DNS record update may take more than 24 hours in some circumstances before you shut down or terminate the old server. Additionally, since the new server is functional, you don't want your users to use the old one. Update your outdated Apache2/nginx server to avoid complications and complete this operation:

server {
server_name .yourdomain.com;
return 301 http://www.newServerAddress.com;
}

Visitors and users who access the server using your domain will be forwarded to the new server. Keep in mind that you must restart nginx or Apache2 after changing it:

$ sudo /etc/init.d/apache2 restart (for Apache2)
$ sudo /etc/init.d/nginx restart (for nginx)

Turn off the old Odoo server to be certain that no operations occurs there:

$ sudo service odoo stop

If you encountered an error, it is likely that your Odoo service has a different name. To verify, access the Odoo configuration file or use "ps -Al." All the services that are active on your system will be listed here.

Hope it helps

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jun. 22
2194
3
mrt. 15
5442