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 !

Change admin-site port and/or url

Got problems with your B2 or B3? Share and get helped!
Post Reply
Ancan
Posts: 16
Joined: 17 May 2011, 11:52

Change admin-site port and/or url

Post by Ancan »

Hi all!

Just got my B3 today, hoping it will replace my server+wlan ap+firewall.

On my server I'm running a small community-site using mybb, and first thing I did on the B3 was installing it. I also followed the guide in the forums about virtual hosts, and got the url for the community site to go to the correct apache-site. However, mybb uses "/admin" for it's admin interface, and for some reason that URL was inaccessible because the B3-admin-site somehow got priority and showed up instead.

I'm a beginner regarding apache configuration, but have tried modifiying the ports in the site-definitions in an attempt to have ports 6000 and 6001 for the B3 web interface instead. So far, I have not been successful.

Anyone got any nice tutorials in how to either
a) Change the port used for the Bubba admin-interface (http and https).
or
b) Change the path to the Bubba admin-interface, so it's access though another URL like http://<site>/bubba/admin, instead of http://<site>/admin

Thanks,
Anders
Last edited by Ancan on 18 May 2011, 03:59, edited 1 time in total.
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Chang admin-site port and/or url

Post by RandomUsername »

I know this isn't what you asked but it might help. You can delete /home/web/index.html to stop yourdomain.com redirecting to yourdomain.com/admin.

HTH.

[EDIT]Actually, according to the comments in index.html you need only delete the metatag.

[FURTHER EDIT]I don't have access to my B2 at the moment but I suspect you're going to break a lot of stuff even if you do successfully change the URL for the admin interface.
Ancan
Posts: 16
Joined: 17 May 2011, 11:52

Re: Change admin-site port and/or url

Post by Ancan »

All right, it's kind'a fixed now, but not by changing the admin-site, but rather tweaking the mybb-site so it's http://.../mybb/admin instead of http://.../admin.

...on to next issue, but that's in another post :)
Nrde
Posts: 75
Joined: 17 Nov 2010, 06:41

Re: Change admin-site port and/or url

Post by Nrde »

Ancan wrote: Anyone got any nice tutorials in how to either
a) Change the port used for the Bubba admin-interface (http and https).
or
b) Change the path to the Bubba admin-interface, so it's access though another URL like http://<site>/bubba/admin, instead of http://<site>/admin
Is this what you are after? (I wanted to have admin interface on port 8080)

--- quote ---

You should be able to achieve this if you manually edit the files:

/etc/apache2/ports.conf

and

/etc/apache2/sites-enabled/bubba

replacing the port 80 with 8080 in these files.

Restarting apache and reconfigure the firewall when done.

--- quote ---
Post Reply