2022-07-26, 11:42 AM
Hi
I am new in mybb
I'm installing mybb on CentOS in VirtualBox with my laptop.
One question is, how should I set the forum URL to automatically grab the IP?
Because I may be connected to different networks with my laptop, the IP will change accordingly.
For example I am on a network, the IP is 192.168.1.123
But if I go out or change the network, the IP will be 192.168.3.321
I know that in mediawiki it can be set to
Thanks!
I am new in mybb
I'm installing mybb on CentOS in VirtualBox with my laptop.
One question is, how should I set the forum URL to automatically grab the IP?
Because I may be connected to different networks with my laptop, the IP will change accordingly.
For example I am on a network, the IP is 192.168.1.123
But if I go out or change the network, the IP will be 192.168.3.321
I know that in mediawiki it can be set to
$wgServer = "http://" . $_SERVER["SERVER_NAME"];
But I don't know how to set in mybb. Does mybb have similar settings?Thanks!