Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

[SOLVED] Change http port on Bubba 3

Got problems with your B2 or B3? Share and get helped!
Post Reply
endived
Posts: 8
Joined: 18 May 2012, 10:13

[SOLVED] Change http port on Bubba 3

Post 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 :)
Last edited by endived on 13 Nov 2012, 05:43, edited 1 time in total.
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Change http port on Bubba 3

Post 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.
endived
Posts: 8
Joined: 18 May 2012, 10:13

Re: Re: Change http port on Bubba 3

Post 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.
Gordon
Posts: 1470
Joined: 10 Aug 2011, 03:18

Re: Change http port on Bubba 3

Post 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.
endived
Posts: 8
Joined: 18 May 2012, 10:13

Re: Change http port on Bubba 3

Post 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.
Post Reply