Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

How to associate a registered domain to a One Clic App server with Odoo

In SW Hosting the access to the One Click Apps servers with Odoo is done through the URL corresponding to the name of the server. For example: http://ce2022021506001.dnssw.net

enter image description here

In case you prefer to access your Odoo server with the name of an already registered domain, you will have to follow the following steps:

a) Modify the DNS records of your domain indicating that the record of type A corresponds to the IP of your Odoo server.

enter image description here

b) Access via SSH to your Odoo server with root credentials and perform the following action:

Edit the /etc/nginx/sites-available/odoo.conf file to modify the parameter.

"server_name ce201909080308001.dnssw.net;"

and change the name of the server to your domain name

"server_name yourdomain.com;"

enter image description here

3 - From the SSH console reload the web server configuration with the following command

service nginx reload.

Once these actions are done, you will be able to access your Odoo server from the web browser by entering your domain name.

enter image description here

Other manuals that may be of interest to you:

https://www.swhosting.com/es/comunidad/manual/como-registrar-un-dominio-desde-la-web

https://www.swhosting.com/es/comunidad/manual/crear-servicio-de-hosting

https://www.swhosting.com/es/comunidad/manual/conceptos-basicos-sobre-dominios-y-registros-dns

https://www.swhosting.com/es/comunidad/manual/gestionar-registros-dns

Here's how to install a free SSL certificate to access your One-Click-App with Odoo through a secure https connection

  1. You will need to install and run the certbot command

apt-get install -y certbot python-certbot-nginx

certbot --nginx


  1. You will then need to answer the system prompts to complete the installation:

Enter email address (used for urgent renewal and security notices) (Enter 'c' to cancel): correo@tudominio.es

(A)gree/C) Cancel: A

(Y)es/(N)o: N

(Enter 'c' to cancel): 1

Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2

Congratulations! You have successfully enabled https://tudominio.es


Once the process is finished, you will be able to access your Cloud Odoo server through your domain and using the HTTPS protocol. enter image description here

More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.