Doubt about domains

Asked

Viewed 46 times

-2

I have the following question. I have a control panel where the user can add a lot of information on your site, however, the user site stays in my domain as for example www.meudominio.com/sitedousuario1 how could I display this content on the client’s domain sidedousuario1, sitedousuario2 ? If the question is a bit complex, just show me a way.

  • Is it like a virtual mall where every customer has their store inside my domain? If this is the case I provide a PHP page of control to the clients and this page consumes a python script that is linked to a database of its own containing only the settings of each client.

  • All right, but what about dominance ?

  • But the domain the user buys and points to my server.

2 answers

1

You can use a similar strategy to Heroku.

They use the pattern of using the customer site as a subdomain of their domain.

Whenever you access it is something like: exemplo.herokuapp.com

This way for each client you can have a subdomain and still have only 1 certificate, since they use wildcards certificates, valid for all subdomains.

The difference to what you described is that the subdomains will be:

siteusuario1.meudominio.com
siteusuario2.meudominio.com

That’s my contribution but I don’t know where to start.

-2

You have to register your own domain for your client (just like you did for yourself), and hire a hosting service, publish the DNS and send the system to your client’s server. Basically what you did to yourself.

  • but this would be impracticable for me.

  • Imagine this for 100 customers

  • Explain to me better the type of service you provide to your customer. I have my own system (developed and designed by me), when I get a new client, I do all the basic configuration for it: domain registration and hosting. Then I install my application and it makes use in the domain itself.

  • I have a service where all my clients are in a single database, but it is not feasible for me to register domain for each client, since this is on his part.

  • There is a note that the client can make in his control panel. to have his domain working in your "sub domain". But unfortunately I don’t know how it works. Who uses this device is the blogspot platform. I have pointed several domains to the google platform. They have a step-by-step ... but I do not know how their server does this treatment.

Browser other questions tagged

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