Is hybrid hosting with a single domain possible?

Asked

Viewed 173 times

-1

I have a client who has a site in PHP, but the developer told him that there was no way to do with his database. He asked me to make a system for him that could make a customer CRUD. Since he has a contract with the company that developed his website, there’s no way to get me to run his website. He uses Uolhost to host his website, his platform is on Linux, but I saw that it is possible to switch to Windows, which has support for ASP.Net.

I can host my system in ASP.Net MVC, along with his site made in PHP and use the same domain?

  • Probably, changing the hosting to Windows, should work smoothly

  • But I get that in a single domain?

  • 1

    I don’t know if a single domain would be quite the solution. I would advise using a subdomain for this, such as... http://www.meusistema.dominiodosite.com. If that’s not the case, what you can do is create a path forward, like http://www.dominiodosite.com/meusistema. Apart from these two paths, you cannot use the same domain

  • Got it. Thanks @Randrade.

1 answer

4


Domains are not linked to technologies, they are just names that lead to an IP address. So right away we can conclude that there is no problem.

Hence the question about can put two different technologies in the same IP.

An IP can only be on one device, so we have to know if it’s possible to have both technologies on the same server. And the answer is yes, you can on both Windows and Linux.

Windows supports ASP.NET MVC and PHP running on the same site, there is no specific technical restriction on using both. In general people use IIS for this, but nothing prevents them from using Apache, although their hosting probably doesn’t offer this.

Linux is also possible to run both. ASP.NET MVC can run through the Mono or of .NET Core, what should be more advantageous nowadays (in fact Mono is being discontinued as a complete product), but I don’t know how much these two solutions work in your hosting. They may not work.

So it does, but your stay may not be ready. What’s more, there may be conflicts between the two parties. Not by technology, but how the application was developed. These things we have no way to answer.

  • Thanks for the reply @bigown I contacted the support of my hosting service provider, the support guy told me that we could use subdomains, pointing to the server that will host the new system. It would only have to be set up at the provider, where my client’s system is currently hosted.

Browser other questions tagged

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