نام دامنه

نام دامنه آدرس‌های مبتنی بر متن هستند که مکان‌های آنلاین مانند وب‌سایت‌ها را شناسایی می‌کنند. آنها راهی قابل تشخیص‌تر و به یاد ماندنی‌تر برای مردم برای پیمایش اینترنت نسبت به آدرس‌های IP عددی فراهم می‌کنند.

پایگاه داده‌های آنلاین به‌طور پیش‌فرض از یک زیر دامنه از دامنه tashilgostar.ir استفاده می‌کنند (مثلاً mycompany.tashilgostar.ir).

ولی می‌توانید به جای این زیر دامنه، از یک دامنه سفارشی استفاده کنید، برای این کار به راهنمای ثبت نام دامنه رایگان (فقط برای پایگاه داده‌های آنلاین) یا با پیکربندی نام دامنه‌ای که از قبل دارید مراجعه کنید.

ثبت نام دامنه رایگان با سازمان‌یار

برای ثبت یک نام دامنه رایگان یک‌ساله برای پایگاه داده Odoo Online خود، وارد حساب کاربری خود شوید و به مدیریت پایگاه داده بروید. روی نماد چرخ‌دنده (⚙️) در کنار نام پایگاه داده کلیک کنید و گزینه نام‌های دامنه را انتخاب کنید.

دسترسی به پیکربندی نام‌های دامنه پایگاه داده

نام دامنه مورد نظر را جستجو کنید و در دسترس بودن آن را بررسی کنید.

جستجوی یک نام دامنه در دسترس

نکته

اطمینان حاصل کنید که برنامه وب سایت نصب شده است اگر گزینه ثبت نام دامنه نمایش داده نمی‌شود.

نام دامنه مورد نظر را انتخاب کنید، فرم مالک دامنه را پر کنید و روی ثبت کلیک کنید. نام دامنه انتخاب شده مستقیماً به پایگاه داده متصل می‌شود.

پر کردن اطلاعات مالک دامنه

در مرحله بعد، باید نام دامنه خود را به وب سایت Odoo خود نگاشت کنید.

مهم

یک ایمیل تأیید از noreply@domainnameverification.net به آدرس ایمیلی که در فرم مالک دامنه وارد شده است ارسال می‌شود. تأیید آدرس ایمیل شما ضروری است تا دامنه فعال بماند و پیش‌فاکتور تمدید قبل از انقضا دریافت شود.

ثبت نام دامنه برای سال اول رایگان است. پس از این دوره، سازمان‌یار مدیریت دامنه را با همکاری Gandi.net، ثبت‌کننده نام دامنه ادامه خواهد داد و از شما به نرخ تمدید Gandi.net هزینه دریافت می‌شود. سازمان‌یار هر ساله پیش‌فاکتور تمدید را به آدرس ایمیل ذکر شده در فرم مالک دامنه چند هفته قبل از تاریخ انقضای دامنه ارسال می‌کند. دامنه به‌طور خودکار پس از تأیید پیش‌فاکتور تمدید می‌شود.

توجه

  • این پیشنهاد فقط برای پایگاه داده‌های Odoo Online در دسترس است.

  • این پیشنهاد به یک نام دامنه به ازای هر مشتری محدود می‌شود.

  • این پیشنهاد به ثبت یک نام دامنه جدید محدود می‌شود.

  • The offer is available to One App Free plans. Ensure that your website contains enough original content for Odoo to verify that your request is legitimate and respects Odoo's Acceptable Use Policy. Given the high number of requests, it can take Odoo several days to review them.

DNS records

To manage your free domain name DNS records, open the database manager, click the gear icon (⚙️) next to the database name, select Domain Names, and click DNS.

  • A: the A record holds the IP address of the domain. It is automatically created and cannot be edited or deleted.

  • CNAME: CNAME records forward one domain or subdomain to another domain. One is automatically created to map the www. subdomain to the database. If the database is renamed, the CNAME record must also be renamed.

  • MX: MX records instruct servers on where to deliver emails.

  • TXT: TXT records can be used for different purposes (e.g., to verify domain name ownership).

Any modification to the DNS records can take up to 72 hours to propagate worldwide on all servers.

توجه

Submit a support ticket if you need assistance to manage your domain name.

Mailbox

The one-year free domain name offer does not include a mailbox. There are two options to link your domain name with a mailbox.

Use a subdomain

You can create a subdomain (e.g., subdomain.yourdomain.com) to use as an alias domain for the database. It allows users to create records in the database from emails received on their email@subdomain.yourdomain.com alias.

To do so, open the database manager, click the gear icon (⚙️) next to the database name, and go to Domain Names ◄ DNS ◄ Add DNS record ◄ CNAME. Next, enter the desired subdomain in the Name field (e.g., subdomain), the original database domain with a period at the end (e.g., mycompany.odoo.com.) in the Content field, and click Add record.

Then, add the alias domain as your own domain by clicking Use my own domain, entering the alias domain (e.g., subdomain.yourdomain.com), clicking Verify, and then I confirm, it's done.

Finally, go to your database and open the Settings. Enable Custom Email Servers, enter the Alias Domain (e.g., subdomain.yourdomain.com) and click Save.

Use an external email provider

To use an external email provider, you should configure an MX record. To do so, open the database manager, click the gear icon (⚙️) next to the database name, click Domain Names ◄ DNS ◄ Add DNS record ◄ MX. The values you should enter for the Name, Content, and Priority fields depend on the external email provider.

Configure an existing domain name

If you already have a domain name, you can use it for your Odoo website.

هشدار

It is strongly recommended to follow in order these three steps to avoid any SSL certificate validation issues:

  1. Add a CNAME record

  2. Map your domain name to your Odoo database

  3. Map your domain name to your Odoo website

یک رکورد CNAME اضافه کنید

Adding a CNAME record to forward your domain name to the address of your Odoo database is required.

The CNAME record's target address should be your database's address as defined at its creation (e.g., mycompany.odoo.com).

The specific instructions depend on your DNS hosting service.

مهم

Odoo only supports subdomains. To use your naked domain name (a domain name without any subdomains or prefixes) (yourdomain.com), create a redirection 301 to redirect visitors to www.yourdomain.com.

مثال

You own the domain name yourdomain.com, and your Odoo Online database's address is mycompany.odoo.com. You want to access your Odoo database primarily with the domain www.yourdomain.com and also with the naked domain yourdomain.com.

To do so, create a CNAME record for the www subdomain, with mycompany.odoo.com as the target. Next, create a redirect (301 permanent or visible redirect) to redirect visitors from yourdomain.com to wwww.yourdomain.com.

Map a domain name to an Odoo database

هشدار

Ensure you have added a CNAME record to your domain name's DNS before mapping your domain name to your Odoo database.

Failing to do so may prevent the validation of the SSL certificate and could result in a certificate name mismatch error. Web browsers often display this as a warning, such as "Your connection is not private".

If you encounter this error after mapping the domain name to your database, wait up to five days, as the validation may still happen. If not, you can submit a support ticket, including screenshots of your CNAME records.

Open the database manager, click the gear icon (⚙️) next to the database name, and go to Domain Names ◄ Use my own domain. Then, enter the domain name (e.g., yourdomain.com), click Verify and I confirm, it's done.

Mapping a domain name to an Odoo Online database

رمزگذاری SSL (پروتکل HTTPS)

SSL encryption allows visitors to navigate a website through a secure connection, which appears as the https:// protocol at the beginning of a web address rather than the non-secure http:// protocol.

Odoo generates a separate SSL certificate for each domain mapped to a database using Let's Encrypt's certificate authority and ACME protocol.

توجه

  • Certificate generation may take up to 24 hours.

  • Several attempts to validate your certificate are made for five days after you map your domain name to your database.

  • If you use another service, you can keep using it or change to Odoo's.

مهم

No SSL certificate is generated for naked domains (domain names without any subdomains or prefixes).

URL پایگاه وب پایگاه داده

توجه

If the Website app is installed on your database, skip this section and continue from the Map a domain name to a website section.

The web base URL or root URL of a database affects your main website address and all the links sent to your customers (e.g., quotations, portal links, etc.).

To make your custom domain name the web base URL of your database, access your database using your custom domain name and log in as an administrator (a user part of the Settings access right group under Administration).

مهم

If you access your database with the original Odoo address (e.g., mycompany.odoo.com), the web base URL of your database will be updated accordingly. To prevent the automatic update of the web base URL when an administrator logs in to the database, activate the developer mode, go to Settings ◄ Technical ◄ System Parameters ◄ New, and enter web.base.url.freeze as the Key and True as the Value.

توجه

You can also set the web base URL manually. To do so, activate the developer mode, go to Settings ◄ Technical ◄ System Parameters, and search for the web.base.url key (create it if necessary) and enter the full address of your website as the value (e.g., https://www.yourdomain.com). The URL must include the protocol https:// (or http://) and not end with a slash (/).

Map a domain name to an Odoo website

Mapping your domain name to your website is different than mapping it to your database:

  • It defines your domain name as the main one for your website, helping search engines to index your website correctly.

  • It defines your domain name as the base URL for your database, including portal links sent by email to your customers.

  • If you have multiple websites, it maps your domain name to the appropriate website.

Go to Website ◄ Configuration ◄ Settings. If you have multiple websites, select the one you want to configure. In the Domain field, enter the address of your website (e.g., https://www.yourdomain.com) and Save.

هشدار

Mapping your domain name to your Odoo website prevents Google Search from indexing your original database address (e.g., mycompany.odoo.com).

If both addresses are already indexed, it may take some time before the indexation of the second address is removed from Google Search. You can use the Google Search Console to fix the issue.

توجه

If you have multiple websites and companies on your database, make sure to select the right Company under Website ◄ Configuration ◄ Settings. Doing so indicates Odoo which URL to use as the base URL according to the company in use.