M
M
myfront2020-09-19 22:44:43
Domain Name System
myfront, 2020-09-19 22:44:43

How to configure the ability to add a domain for clients on the site builder?

Hello!
There is a web application that allows customers to create their own pages (website builder, something like a taplink). The page address will be like mywebapp.com/client-page1

The application is written in VueJS (SSR), runs on NodeJS (AWS ElasticBeanstalk) + uses AWS Route 53 You

need to add the ability for clients to connect their domain for this page.

I looked at similar approaches on other sites ( https://taplink.ru/help/faq/settings/domain/ ), clients need to add their domain and register DNS (NS1, NS2) platforms in their domain provider.

I would be very grateful if someone can point me in the right direction

Questions:
1) Do I need to raise some kind of DNS? (ns1.mywebapp.com, ns2.mywebapp.com)
2) in the NodeJS code, it will be necessary to check if there is a request to the domain that the user specified, then render the same page as for the mywebapp.com/client-page1 route?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2020-09-19
@inoise

You can use the Route53 API, but keep in mind that the service has limits.
Regarding routing - use CloudFront to route traffic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question