Page 1 of 1

[SOLVED] Change http port on Bubba 3

Posted: 12 Nov 2012, 10:23
by endived
Can't find the answer on the forum; sorry if this is a recurring question.

I have a Bubba 3 in Server-only mode.

My ISP has started blocking port 80. This is annoying but okay, we can get around that.
I changed my DNS configuration with enom and added URL Frame to my domain on a different port. (chesne.net:8080).

However, on my Bubba I'm afraid to have lost track of things. I changed /etc/apache2/ports.conf and also all ports in /sites-available. Technically, I changed all references to 80 to 8080 instead.
Then I disabled and re-enabled all running configs (bubba and default).

Result is that http://www.chesne.net/admin is forwarding to the admin panel, so this is fine.

Only problem is however, I have a couple of projects in /home/web/, like a forum. chesne.net/forum used to work, simply by residing in /home/web/forum, but now it's not showing up anymore.

I seem to have missed/overlooked something, but I can't find it.
Has this to do with the apache configuration or with the way I forward/redirect things with the DNS provider?

Thanks if anybody could point me in some direction :)

Re: Change http port on Bubba 3

Posted: 12 Nov 2012, 10:50
by RandomUsername
Did you also change everything in sites-enabled?

EDIT: The bubba file there should be symlinked to the one in sites-available, but it might have been overwritten at some point.

Re: Re: Change http port on Bubba 3

Posted: 12 Nov 2012, 11:30
by endived
RandomUsername wrote:Did you also change everything in sites-enabled?

EDIT: The bubba file there should be symlinked to the one in sites-available, but it might have been overwritten at some point.
I edited the file in sites-available. Then I used the a2dissite and a2ensite commands, well, which is more or less overwriting the symlink imagine.

Re: Change http port on Bubba 3

Posted: 13 Nov 2012, 04:25
by Gordon
I'm not fully getting the "it's not showing up anymore" bit. Are you looking at a 404 if you enter the /forum url or are you seeing an empty page where you expected a folder listing?

In regards to having the page enclosed in a frame: did you attempt to open the page directly from within your LAN by pointing your browser at http://b3:8080/ ? Yes the frame can be a problem if the forum software contains Java scripting to detect and break out of a frame.

Re: Change http port on Bubba 3

Posted: 13 Nov 2012, 05:43
by endived
Gordon wrote:I'm not fully getting the "it's not showing up anymore" bit. Are you looking at a 404 if you enter the /forum url or are you seeing an empty page where you expected a folder listing?

In regards to having the page enclosed in a frame: did you attempt to open the page directly from within your LAN by pointing your browser at http://b3:8080/ ? Yes the frame can be a problem if the forum software contains Java scripting to detect and break out of a frame.
I just had another look at it and decided to start from a clean sheet in sites-available. I must have made a bit of a mess there.

Made a backup of /usr/share/bubba-frontend/apache.site, edited the file (changing port 80 to 8080), made a symlink to site-available and enabled this. Now it's all fine.
So the URL Frame is working fine as is the apache config now. The bubba admin panel is working as well as the sites in /home/web.