Jump to content

Question

Good evening, dear friends! I want to run two servers!
 
I have two hosting, how to run two servers in two hosting that would have been one login
 
Please help me
Edited by RagnarokOnline2015

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Hello..

 

can u specified your question?? or step by step so we can help u easily

 

-> I have two hosting, how to run two servers in two hosting that would have been one login

Share this post


Link to post
Share on other sites
  • 0

For you to do what you want, it's recommended you use something slightly more powerful than a VPS, or use two.

 

Basically:

 

VPS 1 IP: 55.55.55.55

VPS 2 IP: 77.77.77.77

 

You will start up login, char and map on VPS 1 and only char and map on VPS 2.

 

Your settings will be something like this:

On VPS 1, /conf/login_server.conf:

 

// The login server listens on the interface with this IP address.// NOTE: This allows you to run multiple servers on multiple interfaces// while using the same ports for each server.bind_ip: 55.55.55.55// Login Server Portlogin_port: 6900

ON VPS 1, /conf/char_server.conf:

 

userid: server1passwd: somerandomthing1// Server name, use alternative character such as ASCII 160 for spaces.// NOTE: Do not use spaces or any of these characters which are not allowed in//       Windows filenames /:*?"<>|//       ... or else guild emblems won't work client-side!server_name: Hercules1// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)wisp_server_name: Server// Login Server IP// The character server connects to the login server using this IP address.// NOTE: This is useful when you are running behind a firewall or are on// a machine with multiple interfaces.login_ip: 127.0.0.1// The character server listens on the interface with this IP address.// NOTE: This allows you to run multiple servers on multiple interfaces// while using the same ports for each server.//bind_ip: 127.0.0.1// Login Server Portlogin_port: 6900// Character Server IP// The IP address which clients will use to connect.// Set this to what your server's public IP address is.char_ip: 55.55.55.55// Character Server Portchar_port: 6121

 

On VPS 1, /conf/map_server.conf:

 

userid: server1passwd: somerandomthing1// Character Server IP// The map server connects to the character server using this IP address.// NOTE: This is useful when you are running behind a firewall or are on// a machine with multiple interfaces.char_ip: 127.0.0.1// The map server listens on the interface with this IP address.// NOTE: This allows you to run multiple servers on multiple interfaces// while using the same ports for each server.//bind_ip: 127.0.0.1// Character Server Portchar_port: 6121// Map Server IP// The IP address which clients will use to connect.// Set this to what your server's public IP address is.map_ip: 55.55.55.55// Map Server Portmap_port: 5121

 

And on VPS 2:

/conf/char_server.conf

 

userid: server2passwd: somerandomthing2// Server name, use alternative character such as ASCII 160 for spaces.// NOTE: Do not use spaces or any of these characters which are not allowed in//       Windows filenames /:*?"<>|//       ... or else guild emblems won't work client-side!server_name: Hercules2// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)wisp_server_name: Server// Login Server IP// The character server connects to the login server using this IP address.// NOTE: This is useful when you are running behind a firewall or are on// a machine with multiple interfaces.login_ip: 55.55.55.55// The character server listens on the interface with this IP address.// NOTE: This allows you to run multiple servers on multiple interfaces// while using the same ports for each server.//bind_ip: 127.0.0.1// Login Server Portlogin_port: 6900// Character Server IP// The IP address which clients will use to connect.// Set this to what your server's public IP address is.char_ip: 77.77.77.77// Character Server Portchar_port: 6121

On VPS 2, /conf/map_server.conf:

 

userid: server2passwd: somerandomthing2// Character Server IP// The map server connects to the character server using this IP address.// NOTE: This is useful when you are running behind a firewall or are on// a machine with multiple interfaces.char_ip: 127.0.0.1// The map server listens on the interface with this IP address.// NOTE: This allows you to run multiple servers on multiple interfaces// while using the same ports for each server.//bind_ip: 127.0.0.1// Character Server Portchar_port: 6121// Map Server IP// The IP address which clients will use to connect.// Set this to what your server's public IP address is.map_ip: 77.77.77.77// Map Server Portmap_port: 5121

The login server, character server and map server on VPS 1 will connect as usual, but on VPS 2, your map server will connect to VPS 2's character server, and VPS 2's character server will connect to VPS 1's login server. Players which connect to the login server and login successfully will be greeted with the Character select window allowing them to select Hercules1 or Hercules2.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.