Replicating SRV functionality with apps that don't have integration

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
ihasamoose
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Jun 27, 2020 6:51 am

Replicating SRV functionality with apps that don't have integration

Post by ihasamoose »

Hello,

I found the SRV method for things such as Minecraft.

I have a server, hosting multiple different web pages on different ports.

Instead of accessing them via: mydomain:someport, I'd like to access them with just www.mydomain.com.

Is there any way of replicating SRV functionality without creating extra VM's to get a different internal IP?

Namely: Proxmox, Ubiquiti Host Controller, NetData

Thanks,
Austin
User avatar
TimeX
Staff
Staff
Posts: 1730
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: Replicating SRV functionality with apps that don't have integration

Post by TimeX »

While this doesn't answer your question, I'm wondering if you have considered just having the different domains point to different folders on the web hosting? This is how I normally see it done. It does mean they would be sharing a numerical IP by default, but it seems you are already doing that anway with them all on different ports.
TimeX
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Replicating SRV functionality with apps that don't have integration

Post by Edge100x »

It is very common for a webserver to service multiple subdomain+domain combinations (vhosts). How to set these up varies depending on the webserver software that you are using. With Apache, for instance, there is documentation here: https://httpd.apache.org/docs/2.4/vhosts/examples.html
Post Reply