도메인 주소

Domain names serve as easily recognizable labels for online locations such as websites, translating difficult-to-remember numerical IP addresses into readable, memorable web addresses.

Odoo Online and Odoo.sh databases use a subdomain of the odoo.com domain by default (e.g., mycompany.odoo.com).

However, you can register a free domain name on Odoo Online or use a domain name you own.

Register a free domain name

To register a one-year free domain name for an Odoo Online database:

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. 원하는 도메인 주소를 검색하여 사용 가능 여부를 확인합니다.

  4. Select the desired domain name, fill in the Domain Owner form, and click Register. The domain name is directly linked to the database.

    중요

    A verification email from noreply@domainnameverification.net will be sent to the email address provided. Verifying the email address is necessary to keep the domain active and receive the renewal quote before expiration.

  5. Finally, map the domain name to your Odoo website.

이용 약관

The domain name registration is free for the first year. After this period, Odoo will continue to manage the domain in partnership with Gandi.net, the domain name registrar, and you will be charged Gandi.net’s renewal rate. Odoo sends a renewal quotation every year to the email address specified in the Domain Owner form several weeks before the domain’s expiration date. The domain is renewed automatically when the quotation is confirmed.

  • Odoo 온라인 데이터베이스에만 적용되는 혜택입니다.

  • The offer is limited to one domain name per client.

  • The offer is limited to the registration of a new domain name.

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

DNS 레코드

To manage a free domain name’s DNS records:

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. DNS 를 클릭합니다.

  • A: A 레코드에 도메인의 IP 주소를 보유합니다. 자동으로 생성되며 수정하거나 삭제할 수 없습니다.

  • 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 be updated accordingly.

  • MX: MX 레코드는 서버에 이메일이 전송될 위치를 알려줍니다.

  • TXT: TXT records can be used for various purposes (e.g., verifying domain name ownership).

DNS 레코드에 대한 수정 사항이 전 세계에 있는 서버 전체에 적용되는 데 최대 72시간 까지 소요될 수 있습니다.

하위 도메인

Adding a subdomain label to a free domain name (e.g., subdomain.yourdomain.com) allows creating multiple websites or creating database records from emails received on an alias (e.g., email@subdomain.yourdomain.com).

To create a subdomain, add a CNAME record:

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. DNS 를 클릭합니다.

  4. Click Add DNS record and select CNAME.

    • Name: enter the desired subdomain label (e.g., subdomain).

    • Content: enter original database domain with a period at the end (e.g., mycompany.odoo.com.).

  5. 레코드 추가 를 클릭합니다.

참고

To use a subdomain’s address for your Odoo website, it is necessary to:

  1. Map the subdomain to your Odoo database.

  2. Map the subdomain to your Odoo website.

메일박스

The free domain name does not include a mailbox. However, there are two options for linking it to a mailbox.

하위 도메인 사용

After creating a subdomain, go to the database and open the Settings app. Under the Alias Domain field, enter the subdomain (e.g., subdomain.yourdomain.com), click Create, and then Save.

외부 이메일 제공업체 사용하기

To use an external email provider, it is necessary to add an MX record:

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. DNS 를 클릭합니다.

  4. Click Add DNS record and select MX.

  5. Fill in the Name, Content, and Priority fields according to the external email provider.

Google Workspace

To use a free domain name with Gmail, register for Google Workspace.

During the registration process, select Set up using your existing domain when asked to Choose a way to set up your account, and enter your domain (e.g., yourdomain.com) when asked What’s your business’s domain name?.

도메인 소유권 인증
  1. Sign in to Google Workspace. When asked to verify you own your domain, click Switch to manual verification.

    Google Workspace에서 도메인 수동 확인으로 전환하기
  2. 도메인 호스트gandi.net 을 선택한 후 계속 을 클릭합니다.

    Google Workspace에서 도메인 호스트 선택하기
  3. Copy the content of the Value field under TXT record. Leave the window open.

    Google Workspace에서 TXT 값 복사하기
  4. Add a TXT record.

    1. Open the database manager.

    2. Click the database name and select Domain Names.

    3. DNS 를 클릭합니다.

    4. Click Add DNS record and select TXT.

    5. Enter @ in the Name field, paste the Value provided by Google in the Content field, and click Add record.

    도메인 주소 소유권 확인용 TXT 레코드 생성
  5. Go back to Google Workspace, tick the box at the bottom, and click Confirm.

이메일을 Gmail 로 리디렉션
  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. DNS 를 클릭합니다.

  4. Click Add DNS record and select MX.

  5. Enter @ in the Name field, 1 in the Priority field, smtp.google.com. in the Content field, and click Add record.

    이메일을 Gmail로 리디렉션하기 위한 MX 레코드 생성
  6. Open the Google Workspace Admin console, click Activate Gmail for your domain, and follow the steps.

기존 도메인 주소 환경설정하기

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

경고

To avoid potential SSL certificate validation issues, it is strongly recommended to follow these steps in the specified order:

  1. If you are transferring your website, set up URL redirections before transferring the domain name to preserve the website’s SEO.

  2. Add a CNAME record.

  3. Redirect your naked domain name (this step is optional but recommended).

  4. Map your domain name to your Odoo database.

  5. Map your domain name to your Odoo website.

CNAME 레코드 추가하기

본인의 도메인 주소를 Odoo 데이터베이스 주소로 전달하려면 CNAME 레코드를 생성해야 합니다.

CNAME 레코드의 대상 주소는 레코드를 생성할 때 지정된 데이터베이스 주소가 됩니다 (예: mycompany.odoo.com).

구체적인 방법은 DNS 호스팅 서비스에 따라 다릅니다.

네이키드 도메인으로 리디렉션

참고

선택 사항이지만, 이 단계를 완료하는 것을 권장합니다.

To let visitors use your naked domain name (a domain name without any subdomains or prefixes) (yourdomain.com), creating a 301 redirect (a permanent redirect from one URL to another) to www.yourdomain.com is required:

The specific instructions depend on your DNS hosting service. However, not all of them offer to redirect a naked domain to HTTPS. If you encounter any issues, we recommend using Cloudflare.

Cloudflare을 사용하여 네이키드 도메인에 대한 보안 및 리디렉션하기

  1. Cloudflare에 회원가입한 후 로그인합니다.

  2. Cloudflare 현황판 에 도메인 주소를입력하고 DNS 레코드 빠른 검색 을 선택합니다.

  3. 요금제를 선택하세요(무료 요금제 가능).

  4. Cloudflare 지침 및 권장 사항에 따라 활성화 작업을 완료합니다.

  5. Add a CNAME record to redirect your naked domain (yourdomain.com) to the www subdomain (e.g., www.yourdomain.com) by clicking DNS in the navigation menu, then clicking the Add record button, and using the following configuration:

    • 유형: CNAME 을 선택하세요.

    • Name: enter @ (or yourdomain.com).

    • Target: enter www. + yourdomain.com, e.g., www.yourdomain.com.

    • Proxy status: toggle the option on (Proxied).

    • :guilabel:`저장`을 클릭합니다.

    Adding a CNAME DNS record to Cloudflare to redirect a naked domain to a www subdomain
  6. Add another second CNAME record to redirect the www subdomain (e.g., www.yourdomain.com) to your database address (e.g., mycompany.odoo.com) using the following configuration:

    • 유형: CNAME 을 선택하세요.

    • Name: enter www. followed by your domain name, e.g., www.yourdomain.com.

    • Target: enter your database’s address as defined at its creation e.g., mycompany.odoo.com

    • Proxy status: toggle the option off (DNS only).

    • :guilabel:`저장`을 클릭합니다.

    Adding a CNAME DNS record to Cloudflare to redirect a www subdomain to an Odoo database
  7. Define a redirect rule to permanently redirect (301) your naked domain (e.g., yourdomain.com) to both http:// and https:// by going to Rules ‣ Overview ‣ Create rule ‣ Redirect Rule. On that page:

    • 규칙 이름 을 입력합니다.

    • Under the If incoming requests match… section, select Custom filter expression and use the following configuration:

      • 필드: Hostname 을 선택합니다.

      • 연산자: equals 를 선택합니다.

      • Value: enter your domain name, e.g., yourdomain.com.

    • 이후 작업 섹션에서 다음과 같이 환경설정합니다.

      • 유형: Dynamic 을 선택합니다.

      • Expression: enter the following expression concat("https://www.yourdomain.com", http.request.uri.path), replacing yourdomain.com with your domain name.

      • Status code: select 301.

      • Preserve query string: enable the option by ticking the box.

    • 배포 를 클릭합니다.

    Cloudflare 리디렉션 규칙을 지정하여 영구적으로 리디렉션 설정(301)
  8. Go to SSL/TLS ‣ Overview ‣ Configure and ensure the encryption mode is set to Full.

    Cloudflare에서 암호화 모드를 전체 설정하기

도메인 주소를 Odoo 데이터베이스에 매핑하기

경고

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 SSL certificate from being validated 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 be in progress. If not, you can submit a support ticket, including screenshots of your CNAME records.

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. Click Use my own domain.

  4. Enter the domain name (e.g., www.yourdomain.com), click Verify, then I confirm, it’s done.

도메인 주소를 Odoo 온라인 데이터베이스에 매핑하기

SSL 암호화 (HTTPS 프로토콜)

SSL encryption allows visitors to navigate a website over a secure connection, indicated by 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.

참고

  • 인증서 생성에는 최대 24시간까지 걸릴 수 있습니다.

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

  • 다른 서비스를 사용 중인 경우에는 계속 사용하거나 Odoo로 변경할 수 있습니다.

중요

네이키드 도메인인 (하위 도메인이나 접두사가 없는 도메인 주소) 에 대해서는 SSL 인증서가 생성되지 않습니다.

데이터베이스의 웹 기본 URL

참고

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

데이터베이스의 웹 기본 URL 또는 루트 URL은 기본 웹사이트 주소와 고객에게 전송되는 모든 링크 (예: 견적서, 포털 링크 등)에 영향을 미칩니다.

사용자 지정 도메인 주소를 데이터베이스의 웹 기본 URL 로 만들려면, 사용자 지정 도메인 주소로 데이터베이스에 액세스하려 관리자 (관리자 아래의 설정 액세스 권한 그룹에 속한 사용자) 로 로그인합니다

중요

If you access your database using the original Odoo address (e.g., mycompany.odoo.com), the database’s web base URL 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 (/).

Odoo 웹사이트에 도메인 주소 매핑하기

참고

도메인 주소를 웹사이트에 매핑하는 것은 데이터베이스에 매핑하는 것과는 다릅니다.

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

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

  • 웹사이트가 여러 개 있는 경우에는 도메인 주소를 알맞은 웹사이트에 매핑합니다.

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

경고

도메인 주소를 Odoo 웹사이트에 매핑하면, 이전의 데이터베이스 주소 (예: mycompany.odoo.com)가 Google 검색에 색인화되는 것을 방지할 수 있습니다.

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

하위 도메인

Adding a subdomain label to a domain name (e.g., subdomain.yourdomain.com) allows creating multiple websites with a single domain name. To do so:

  1. Add a CNAME record to forward your subdomain (e.g., subdomain.yourdomain.com) to the address of your Odoo database (e.g., mycompany.odoo.com).

  2. Map the subdomain to your Odoo database.

  3. Map the subdomain to your Odoo website.