The following steps are required to setup a domain in NetSuite.
- Create a new domain
Commerce > Hosting > Domains > New
To setup a domain name refer https://www.freenom.com/
- SSP Application
> The domain needs to be mapped to corresponding SSP.
> Create a new ssp application
Commerce > Hosting > SSP Applications > New
https://suiteanswers.custhelp.com/app/answers/detail/a_id/49080/loc/en_US#subsect_158101550270
> Need to deploy the required version of source to new ssp. If some files are missing in the application folder need to add manually either as zip file using advanced type or file.
To deploy the files to fetch the core developer tool (seen inside the source folder of the application folder or file cabinet).
> Use the correct node version while deploying. Refer the link below to know the correct node
https://suiteanswers.custhelp.com/app/answers/detail/a_id/49023/loc/en_US
> To deploy the source to new ssp use the command “gulp deploy”
> Add the required libraries to the new ssp created
> Map the domain to the new ssp in domain record.

- Configuration setup
> Copy the configuration record of the corresponding domain to the new domain
> To copy the configuration record
Customization > Lists, Records & Fields > Record Types > SC Configuration list
Copy the string in the field “CONFIGURATION JSON”of the corresponding domain to the new domain.
- Theme and Extension Deployment
> Deploy the latest theme and extensions to the new domain
> It is better to deploy the theme as new name so that the changes do not affect the original domain.
- NetSuite Setup
> Add the required scripts, record and fields for the activated extensions in NetSuite.