Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

159
Visualizações
Allow my customer to configure their own domain to the same application

I'm building a shopify-like application. right now when a customer creates a store, he gets some subdomain like https://customer1.shopify-like.com

My Shopify-like frontend application hosts on AWS/ec2 and built with react.js. So, when you visit customer1.shopify-like.com my Nginx(ec2) configuration catches all *.shopify-like.com and load the same react-application (proxy_pass to http://frontend:80, all services up by docker-compose).

and it works fine.

the question is how to allow my customer to configure their own domain as Shopify does. [docs link][1]

Set up your existing domain to connect to Shopify If you've purchased your domain through a third party, then you need to edit the following DNS settings:

Your A record should point to Shopify's IP address, which is 23.227.38.65 Copy

Your www CNAME record should point to shops.myshopify.com Copy.

  1. why Shopify asks you to set CNAME to shops.myshopify.com? what's the proposal?

  2. should I ask my customer to configure CNAME to customer1.shopify-like.com and A Record to my ec2 IP?

  3. if yes, why? because if they just configure the A Record to my ec2 IP. could I catch all requests with Nginx and proxy_pass to my frontend app? [1]: https://help.shopify.com/en/manual/domains/add-a-domain/using-existing-domains/connecting-domains

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda