DNS Overview

Why do we need a Domain Name System (DNS)? The development of your business website that the Lunchbox team works on depends on a lot of factors, but one of the critical processes involves the identification and configuration of its actual domain name (e.g., www.<business name>.com). Essentially, this overview provides insight into the requirements needed to find and configure your website’s domain (i.e., your company’s website) so that your guests can locate your business on the Internet.

  • Think of the domain names (e.g., www.lunchbox.io) being like the contact names/pictures in your smartphone while the IP addresses (e.g., 192.0.2.0) are like their actual, listed phone numbers. 
  • All websites or domain names have an IP address, which displays their accurate location for the internet. It is critical that the configuration of this information is correct otherwise, you risk contacting and visiting the wrong site!

 

Feature Contents:

Overview

Finding your Domain Host

Configuring DNS for different Providers

 

Overview

This article contains details on how to configure your DNS for different providers.

NOTE: If you require assistance throughout this process, please reach out to your CSM for help.

 

Creating a Canonical Name (CNAME) Record:

You will need to create 2-3 CNAME records for the following process steps. The first step is to set up encryption, which modern websites need to guarantee security during any site visits. The second step is to create the subdomain (e.g., order.<example>.com, catering.<example>.com) for your website.

Step 1: Secure Sockets Layer (SSL) Domain name validation.

  • In order to serve your website over HTTPS (secure communication, mandatory by browsers now), Lunchbox needs permission to create an SSL certificate for the domain name to be used to access the website. The validation values expire after three (3) days.
    • Lunchbox will need to know the domain you’d like to serve as the ordering website(s).
      • This is usually the same domain name as your brand site, (e.g bareburger.com, stickys.com, eatfuku.com)
    • Lunchbox will provide you with the CNAME name and CNAME value.

Step 2: Create a CNAME record for the subdomain users will use to access the website (e.g order.bareburger.com, order.stickys.com, catering.bareburger.com).

  • If a site already exists on this subdomain it will need to be replaced with the value Lunchbox provides.
    • NOTE: Any previous website on that subdomain will no longer be accessible at the URL.
  • Lunchbox will provide you with the CNAME name and CNAME value.
    • The name can be whatever you want.
      • This CNAME name will be the subdomain and will be how your users access the website. We recommend the name, “order” (e.g., order.example.com), and the name, “catering” (e.g., catering.example.com).
    • The CNAME value will follow this pattern “_{random string}.cloudfront.net” where the random string is a unique value consisting of a random ordering of letters.

 

Finding your Domain Host

A Domain Host is an Internet service (i.e., GoDaddy, Cloudflare, etc.) that houses and manages your domain name (e.g., lunchbox.io). All domain hosts use Domain Name System (DNS) records to connect your domain name with email, websites, and other web services.

NOTE: If you already know where your DNS is hosted, omit this section and continue to the Configuring DNS for Different Providers section.

 

Using NS Lookup Tool

What is a Name Server? The Name Server (NS) organizes and routes traffic across the internet. 

The Name Server translates the Domain Name (i.e., like the contact photo in a smartphone) into an IP address (i.e., like the contact’s phone number), acting as a bridge between human understanding and computer identification.

NOTE: This section can be omitted if you already know where your DNS is hosted (e.g., GoDaddy, Cloudflare, etc.).

 

Step 1: Go to the NS Lookup Tool, which is a part of the DNS Checker website.

Screenshot_2021-11-01_11.44.18_AM.png

 

Step 2: Enter your Domain Name (e.g., bareburger.com) into the search field and select the Show NS Records button.

Screenshot_2021-11-01_11.54.40_AM.png

 

Step 3: After the search field returns results, scroll down to find the Name Server listed beside the Owner field.

Screenshot_2021-11-01_11.51.29_AM.png

 

 

Configuring DNS for different Providers

 

GoDaddy

Step 1: Sign in to your GoDaddy account.

 

Step 2: Select the correct domain from the main My Products page.

mceclip1.png

 

Step 3: Click on the Manage Domain link from the Quick Links section, located on the right side of the page.

mceclip2.png

 

Step 4: In Domain Settings, scroll down to Additional Settings and select Manage DNS.

mceclip3.png

 

Step 5: The DNS Management page opens. Within the DNS Records section, select the Add button.

mceclip4.png

 

Step 6: The Add Record section opens. Information for the following can be added for the record:

  • Type - The type of DNS Record (e.g., "A" stands for "address" and indicates an IP address of a given domain).
  • Name - The Host Name for the record (e.g., "@" or "www" are possible values).
  • Value - The IP Address for the record. 
  • TTL - (Time To Live) This is the amount of time (in seconds) that the record is allowed to be cached.

mceclip6.png

 

 

Cloudflare

Step 1: Sign in to the account, which can be done from the top-right portion of the page.

Step 2: Select the domain name to manage.

mceclip4.png

 

Step 3: Select the DNS icon.

mceclip5.png

 

Step 4: Select the Add Record button.

mceclip6.png

 

Step 5: Select / Input the values in the following dropdowns / fields:

  • Type: CNAME
  • Name: order (i.e., the name of the subdomain)
  • Target: Lunchbox should provide you with this value.
  • TTL: Auto
  • Proxy Status: Select DNS only

Do not forget to select the Save button when finished entering the information.

mceclip7.png

 

 

Sucuri

Step 1: Sign into your Sucuri account.

Step 2: Go to my.sucuri.net, or click on the logo that is located in the top-left.

Step 3: Select the gear icon on the card with the domain to manage and select Firewall Settings.

mceclip8.png

 

Step 4: Select the DNS option on the following page.

mceclip9.png

 

Step 5: Select the Add Record button, and a popup will appear.

mceclip10.png

 

Step 6: Enter the following values:

  • DNS Record Type: CNAME
  • Sub-Domain: order (the name of the subdomain)
  • TTL (Time To Live): 5 minutes
  • Points To: Lunchbox should provide you with this value

When you have entered all information, select the Add DNS Record button.

mceclip11.png

 

 

Amazon Web Services Route 53

Step 1: Sign in to the AWS console.

Step 2: Search for Route53 in the home console (see screenshot below) or use the navigation on the top of the page.

mceclip12.png

 

Step 3: Select the Hosted zones link, located on the route53 home page.

mceclip13.png

 

Step 4: Select the domain name to manage (i.e., click the blue link of the domain name).

mceclip14.png

 

Step 5: Select the Create Record Set button.

mceclip15.png

 

Step 6: Enter the values provided in the fields:

  • Name: order (the name of the subdomain)
  • Type: CNAME - Canonical name
  • Alias: No
  • TTL (Seconds): 300
  • Value: Lunchbox should provide you with the value
  • Routing Policy: Simple

mceclip16.png

 

Step 7: Select Create at the bottom of this page to save the changes.

 

 

Squarespace

Step 1: Log into your Squarespace admin dashboard.

Step 2: Select the Domain tab near the top of the page. Click on the row to select the domain to be managed.

mceclip17.png

mceclip18.png

 

Step 3: Select the Advanced Settings option.

mceclip19.png

 

Step 4: On the bottom of the page, there are values that will need to be set.

mceclip20.png

 

Step 5: When adding a new row of values, the following columns require information to be input into them:

  • Host: This value will be set to the “name” value that the Lunchbox Team provides you with.

  • Record: Use the dropdown to select the CNAME value.

  • Priority: Leave this field as N/A.

  • Data: This field will be set to the “value” that the Lunchbox Team provides you with.

When finished, select the Add button.

Screen_Shot_2022-01-24_at_11.00.28_AM.png

 

Important Squarespace Notes:

  • Squarespace does not support a leading underscore (_) in their DNS values.

  • Lunchbox's SSL DNS value has a leading underscore. This underscore can be removed before saving your changes.

  • What lunchbox provides: _<random value>.acm-validations.aws

  • What squarespace will accept: <random value>.acm-validations.aws

 

 

Google

The following process involves how to configure a Lunchbox website on a Domain Name with a Nameserver that is on Google Domains.

NOTE: You can use NS lookup (described here) to find your nameserver. Also, Google domain nameservers contain "googledomains.com" within them.

DNS_Google1.png

Example (see image above) of an NS lookup for a domain whose DNS is Google Domains.

 

Step 1: Navigate to Google Domains using the following URL: https://domains.google/

Step 2: Log into the corresponding Google account that owns the domain you wish to manage. If you're already logged in, select the My domains link that is located in the top-right portion of the page.

DNS_Google9.png

 

Step 3: Navigate to My Domains, located on the left-side menu pane.

DNS_Google3.png

 

Step 4: From the list of domains on the page, select the Manage link on the entry that you want to manage the DNS for.

DNS_Google4.png

 

Step 5: Select the DNS link on the left-side menu.

DNS_Google5.png

 

Step 6: Select the Manage custom records link; doing so will make the rows of entries become editable.

DNS_Google6.png

 

Step 7: Scroll down the list and select Create new record. A new record will be created at the bottom of the list with editable fields for the Host Name, Type, TTL, and Data.

DNS_Google7.png

 

Step 8: Depending on the services you have with Lunchbox, you’ll either have two (2) or three (3) new DNS entries to add/edit on your DNS.

Step 8a: SSL verification: The Name and Value fields are randomly generated. This entry allows the Lunchbox Team to host your website on secure connect, HTTPS required by all major browsers (see here for more information). 

Step 8b: The Subdomain for your online ordering website. Ex: http://order.eatlunchbox.com

Step 8c: The Subdomain for your online catering website. Ex: http://catering.eatlunchbox.com

NOTE: The screenshot below contains example values; each domain has its own values. The Lunchbox Team will provide your domain’s specific values.

DNS_Google8.png

 

NOTE: DNS update propagation can take 24 - 48 hours, but is usually propagated within 5 - 10 minutes.

 

Wix

The following process involves how to configure a brand’s domain name for their Lunchbox online ordering and/or catering ordering website if your DNS provider is  Wix.com .

To determine your DNS provider please follow the instructions here

Prerequisites

  1. Access to your wix.com account that has at least domain manager level access or greater. See here for details. Account owners have the highest level of access and will be sufficient for this guide

  2. Lunchbox provided DNS values. It will be either 2 or 3 pairs of DNS names/values (if you have catering it will be 3 pairs). All of which will be the CNAME DNS record type.

  3. No other website is already occupying the order/catering.brandname.com subdomain.

    1. For example, if order.juicery.com resolves to a website. No two websites can occupy the same subdomain. In this example order is the subdomain and juicery.com is the brand’s domain name.

    2. Talk to your CSM/delivery specialist for options

Steps:

Step 1: Go to Log In | Wix and log in to the account that is managing the domain name account.

Step 2: Upon logging in, you will be directed to a landing page showing the list of available websites under that account. Select the website that is connected to the domain name you’d like to set up.

wix1.png

 

Step 3: Go to settings on the side navigation

wix2.png

 

Step 4: Select manage domains

wix3.png

 

Step 5: Under the domain name, you want to configure, click the three dots and select manage dns

wix4.png

 

Step 6: Scroll to the section titled CNAME and on the bottom of that section click add record

wix5.png

 

Step 7: Fill in the name with the name of the record, the type as CNAME, and value as the value provided

For example one of the DNS pairs

1name: order 2value: akbsdasd.cloudfront.net 3type: CNAMEwix6.png

 

Step 8: Repeat steps 6-7 for all the pairs of name values provided by Lunchbox.

Step 9: DNS providers need to propagate these new entries around the internet so that others can find the website. It may take up to 24 for changes to be seen. However, in most cases, it takes effect within 2-5 minutes

Step 10: After this is complete, notify Lunchbox to confirm everything is configured properly and we’ll handle the rest from here

  •  

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.