Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


CBSYS

133 posts

Master Geek


#199249 10-Aug-2016 09:47
Send private message

Hi There,

 

 

 

We are trying to host our website on our own server in our own office.

 

The problem is the port 80 is using by an other service and we could not change it. And we are using Ubuntu as OS for all our VMs.

 

My question is, is that possible to make URL pointing to the same IP address but different port with 80?

 

How can we do that please?

 

 

 

Thanks!


Create new topic
Dynamic
3866 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #1607432 10-Aug-2016 09:53
Send private message

Yes it will be possible, but I have not enough experience to give you any significant guidance.

 

Is this absolutely necessary?  Hosting a web site in-house strikes me as a risk.  If the site is compromised (which these days is not a rare event), you potentially have an undesirable someone with access to your internal network.





“Don't believe anything you read on the net. Except this. Well, including this, I suppose.” Douglas Adams

 

Referral links to services I use, really like, and may be rewarded if you sign up:
PocketSmith for budgeting and personal finance management.  A great Kiwi company.




solutionz
589 posts

Ultimate Geek
Inactive user


  #1608626 10-Aug-2016 14:45
Send private message

Google "vhost"; you will need to configure it on your router or webserver to redirect traffic based on target address to your server of choice:
ws1.yourdomain.com:80 > 192.168.1.10:80
ws2.yourdomain.com:80 > 192.168.1.11:80
ws3.yourdomain.com:80 > 192.168.1.11:8080

Or if you're happy to run your webservers on different ports without automatic redirection then just setup port forwarding on your router from your WAN IP to whatever internal IP's / ports:
123.456.7.8:81 > 192.168.1.10:80
123.456.7.8:82 > 192.168.1.11:80
123.456.7.8:83 > 192.168.1.10:8080

richms
28168 posts

Uber Geek

Trusted
Lifetime subscriber

  #1608627 10-Aug-2016 14:47
Send private message

If it is on an alternate port expect people to have problems understanding what to type to be able to access it, and in many cases being unable to access it as proxys will often prevent access to other than standard ports.





Richard rich.ms



onebytemike
90 posts

Master Geek


  #1608638 10-Aug-2016 14:51
Send private message

A reverse proxy would do the trick.  Have seen a number used but nginx would be my go-to for this.


CBSYS

133 posts

Master Geek


  #1610318 11-Aug-2016 21:08
Send private message

thanks guys, I might still don't quite understand how to do this, but I guess it's possible though.

 

I will do some research, but if anyone here could give some further instruction, that would be great appreciated. 


freitasm
BDFL - Memuneh
79250 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1610337 11-Aug-2016 21:26
Send private message

What other service is using port 80? It is a standard port for http so any non-http service using port 80 would be strange.

 

If it is a http service (such as a remote camera) but you need to direct your website traffic to the new server then you will need to have a reverse proxy that will look at the request and then decide to which IP in your network to send it.

 

If it's not a http service then things get a bit more complicated.





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.