Website Domains and Email Hosting

This topic applies to

Applies to

Commerce Web Stores

 

If you intend to send more than 100,000 email messages through marketing campaigns within a 30-day period, you must set up a campaign domain. Similarly, if you intend to send out more than 10,000 email messages in any single campaign event (blast) you must also set up a campaign domain. You can use your own domain name for your email campaigns.

To set up a domain for your email campaign, you must configure Domain Name System (DNS) settings to point your domain name at NetSuite website hosting servers. In most cases, your domain provider can redirect your domain name using a CNAME record (Canonical Name record). This approach designates your domain name as an alias of the NetSuite hosting domains assigned to your account. For more information about setting up a CNAME record, see Link your Domain Name with your NetSuite Domain and for more information on using a custom domain for email campaigns, read the help topic Campaign Email Domains.

You may not need a campaign domain as described above but you may need a domain to host company emails. Standard best practices recommend that you should never use your domain for multiple purposes. The most common occurrence of this situation is when you are using your root domain to host several services. As an example, the website https://wolfeelectronics.com and the company email jwolfe@wolfeelectronics.com are sharing the same root domain.

Warning

If you are using the same root domain for your website and to setup email campaigns, you cannot use a CNAME to point your root domain to NetSuite shopping servers. Problems can occur when multiple DNS records are assigned to one root domain name. For example, if you set up mydomain.com for both shopping and email marketing, you may encounter problems such as email server failures.


However, under some circumstances, you might determine you have no other alternative than using a root domain. If this is the case for your company, set up a dynamic A record with your DNS provider to accommodate hosting both your website and email on the same domain. If you are using a dynamic A record, your account can still be moved to a different data center without requiring you to make any manual changes.

Dynamic A Record

You can use a dynamically distributed A record for your root domain in a Commerce web store if your DNS provider supports CNAME Flattening. CNAME Flattening is a feature specific to DNS providers, which enables your website to reap the benefits that a Content Delivery Network (CDN) provides while you use your root domain to host several services.

Note

Since CNAME Flattening is a feature specific to DNS providers, you should choose a DNS provider that offers this feature and set it up for your domain. Each domain provider has an online help system that gives detailed information about CNAME Flattening.


As opposed to a dynamic A record, a static A record points to a fixed IP address and bypasses your website CDN. Therefore, you need to be aware of the potential drawback of using a static A record.

  • Your account is not mobile:

    • When you are using a static A record, your account cannot be moved to (and your website hosted from) a different data center. Moving your account to a different data center might be required, for example, to improve performance or better balance load across infrastructure.

    • If your account is moved to a different data center, you must update the static A record with the IP address for shopping that is appropriate for the new location hosting your site. Your shopping website might be offline until the static A record has been updated.

      Important

      If you are using a static A record, you are responsible for updating your A record as soon as possible after your account has been moved to a different data center. See Static A Record.


  • You cannot use a static A record for your shopping domain when using a CDN for your website. If you use a static A record for your website, the CDN you are using for your website is effectively bypassed. This can mean slower page load times for your web store, so using a static A record can impose a performance penalty.

  • Using a static A record for a root domain is not supported for secure domains (URLs that start with https://, such as secure checkout domains).

If you have no other alternative, set up a static A record with your DNS provider to accommodate hosting both your website and email on the same domain.

Static A Record

Set up a static A record to point your website domain name to the IP address of the NetSuite shopping servers. Creating a static A record for the root domain you plan to use for your shopping site is a task you must complete outside of NetSuite, with your domain provider. You must also enter your shopping domains on the Set Up Domains page in NetSuite.

For example, if you plan to use mydomain.com for both shopping and email, set up a static A record for this domain with your domain provider. The static A record must point to NetSuite shopping servers. Then, enter mydomain.com along with the subdomains you plan to use (such as, www.mydomain.com, shop.mydomain.com) in NetSuite on the Domain Setup page.

Note

If you plan to use a certain domain only for email marketing, then set up a CNAME record for the campaign email domain. The static A record is not required for domains used only for email marketing. For more information, read the help topic Campaign Email Domains.


To set up a static A record:

Important

Only http:// domains without CDN are supported when using a static A record. Secure domains (URLs that start with https://) and http:// domains on CDN are not supported.


  1. Log in to your domain provider website.

  2. Follow instructions for setting up a static A record.

  3. Add a new A record if you do not already have an A record configured.

  4. Find the IP address for the host data center for your account as follows:

    1. Locate the CNAME (ALIAS) for your domain from the Domains page. See Obtain the CNAME (Alias) for a Domain for more information.

    2. Enter the CNAME (ALIAS)  into an online DNS Lookup tool, such as G Suite Toolbox Dig, to obtain the IP address of the host data center for your account.

  5. Replace the IP address provided by your domain provider with the IP address for the host data center for your account.

The static A record now points to the correct IP address depending on your host NetSuite data center. For example:

Host

Points To

@

167.216.129.13

Note

You are responsible for updating your static A record within 14 days after your account has been moved to a different data center. For more information about domain URLs and multiple data centers, see the help topics Understanding NetSuite URLs and NetSuite Accounts Are Hosted in the Cloud.