Virtual store domain forwarding

Asked

Viewed 103 times

2

Good morning!

I am finalizing the development of a virtual store that I will work with rent. So far so good: I have the following problem.

I want to let all customers have always used the same administrative system and shop, but of course with their respective database.

Example: www.shoplivre.com.br/cliente01

But I would like to see the client’s url. How can I do this? It is possible?

Example: www.lojamil.com.br

  • It is possible yes. What technology are you using? Your login page is unified?

  • You own both domains?

  • Good afternoon, Vinicius yes will be unified, the virtual store also type want to always use the same platform and in admin the customer can leave the store his way. type http://www.iset.com.br/? site=ishopping&page=201, this store I was once his customers and is the same admin for all stores and also the same store for all it comes with default layout and admin can change.

  • Guilherme will work like this, I will rent the store, so when a customer rents the store I will register in a table in the database, then each customer will have an id so I will be able to identify each customer.

  • I need to know if you own or Adm domains (I’m not talking about hosting), having control over domains I can say that it’s possible, of course if you have access to a dynamic language like php on both domains you can control cookies to share the session.

  • I will have access to all domains will be all in my vcs,

  • Yes it is possible! I did the same on my website by changing the domains according to the tutorial: https://www.hostinger.com.br/tutorials/como-alterar-os-nameservers-de-domain/

Show 2 more comments

1 answer

2


Yes, it is possible. Only to get a good response, you need to know what HTTP server technology we are dealing with.

The technique is simple and is based on your DNS records: having the domain registered, just make it point to the correct subdomain through the CNAME record. Here’s a good introduction about CNAME. Here you have more details about how it works for Registro.br.

Also, you can have another machine control the domain for you by setting MASTER and SLAVE entries in your DNS record. By setting MASTER and SLAVE instead of manual entries, you are telling the DNS registry authority (Registry.br is a registration authority) that another machine will dynamically update the DNS records without you having to enter the dashboard every time and modify. Hostgator offers this type of service and teaches step-by-step here.

Finally, the configuration about which subdomain your HTTP server will return depends on the technology.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.