Changing IP of Webpages hosted on Pi Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
rubinkazan

Changing IP of Webpages hosted on Pi

Post by rubinkazan »

Hi. I currently have PiHole, transmission and own cloud installed as well as hosting a website from my raspberry pi running the latest version of diet pi.
I wish to have a different IP for each program. For example currently I access everything with (my rasberry pi IP) then /owncloud/pihole etc. Would I be able to set a different address for transmission web interface and own cloud? and if so how. Bearing in mind this is all in a LAN setting, the website however has an external IP as well. Also, is it possible to embed transmission into a webpage, sort of like a widget?

Thanks
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Changing IP of Webpages hosted on Pi

Post by johnvick »

rubinkazan wrote:Hi. I currently have PiHole, transmission and own cloud installed as well as hosting a website from my raspberry pi running the latest version of diet pi.
I wish to have a different IP for each program. For example currently I access everything with (my rasberry pi IP) then /owncloud/pihole etc. Would I be able to set a different address for transmission web interface and own cloud? and if so how. Bearing in mind this is all in a LAN setting, the website however has an external IP as well. Also, is it possible to embed transmission into a webpage, sort of like a widget?

Thanks
You can do this by using virtual hosts - are you using Lighttpd? If so there are numerous tutorial on this on the web. Same applies if using Apache2.

Transmission can be accessed by eg: http:/192.168.1.5:9091 (substitute your Pi's IP address). I can

JOhn
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Changing IP of Webpages hosted on Pi

Post by Fourdee »

johnvick wrote:JOhn
Whoever said size doesn't matter? That cap O has won me over ;) lol
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
rubinkazan

Re: Changing IP of Webpages hosted on Pi

Post by rubinkazan »

johnvick wrote:
rubinkazan wrote:Hi. I currently have PiHole, transmission and own cloud installed as well as hosting a website from my raspberry pi running the latest version of diet pi.
I wish to have a different IP for each program. For example currently I access everything with (my rasberry pi IP) then /owncloud/pihole etc. Would I be able to set a different address for transmission web interface and own cloud? and if so how. Bearing in mind this is all in a LAN setting, the website however has an external IP as well. Also, is it possible to embed transmission into a webpage, sort of like a widget?

Thanks
You can do this by using virtual hosts - are you using Lighttpd? If so there are numerous tutorial on this on the web. Same applies if using Apache2.

Transmission can be accessed by eg: http:/192.168.1.5:9091 (substitute your Pi's IP address). I can

JOhn
Alright, thanks John I shall investigate virtual hosts, yes I use lighttpd.
Post Reply