• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

How to install website at a different dedicated than your main-server.

kito2

www.masteria.net
Joined
Mar 9, 2009
Messages
3,764
Solutions
1
Reaction score
227
Location
Chile, Santiago
I have tried Modern AAC, Znote AAC, Nicaw AAC, Gesior AAC and no one works... Anyone knows how to install their website in a different dedicated than your server?
 
Just do it.
Make sure the database + server is on the main dediated while the website is in a secundary. Make sure you set the mysql port/url etc. to the primary server and open the mysql port. (default 3306) Recommended is to block any other ip's at the main server on the mysql port since you do not want other people to be able to attempt to log in.
 
Could you psot here error?

Yes: couldn't connect to database.

Just do it.
Make sure the database + server is on the main dediated while the website is in a secundary. Make sure you set the mysql port/url etc. to the primary server and open the mysql port. (default 3306) Recommended is to block any other ip's at the main server on the mysql port since you do not want other people to be able to attempt to log in.

Already done and doesn't work... Try it and you will see that those websites doesn't support this feature.
 
Well, I'm not going to try that for you. You eventually have to change some tiny things in the source code of the website.
Since I have the Geisor source lying around, I found this:
Code:
$server_config = parse_ini_file($config_ini['server_path'].'config.lua');
$mysqlhost = $server_config['mysqlHost'];
So, have you set the mysqlHost value correctly (and related things) in the dummy config.lua you have on your webserver?
 
Yes I did, I changed all where it said to connect to localhost to the main server IP, also the config.lua since it is needed for all websites.
 
kito, gesior and modern support this feature
you have to give access to another user in your database with GRANT

sry for my bad english
 
In phpmyadmin (mysql user management):
You need to create a user that allows that specific IP to connect to the database.
So you need to make a new user there, and instead of localhost as host you write the IP of the website.

3306 must be ported.
You also need to edit the mysql config files to allow external hosts to connect to it.

Then I think you should be all set. D:
 
Back
Top