The first thing you need to do is make a DNS for your server. This will hide your server's IP address in a sub domain, for example, if my server's IP address was 188.8.131.52, I could make a DNS so that my server could be accessed through ArcEmu.exampledomain.com. You can skip this step if you want but it is not recommended, if you decide to skip it, your server will be located at your IP address.
Go to DynDNS and create an account. Then go here and choose a host name (this will be the address people use to get to your server) and click “Use auto detected IP address” in the IP address section, then click create host.
In this step we will forward the ports that ArcEmu uses so that it can be accessed from outside your local network. This step is only necessary if you have a router, if you don’t have one, skip this step.
If you do not know how to forward ports, go to this page and find your router, it will tell you there.
You need to forward these ports:
3727 (this is for voice chat, it is optional)
80 (this is for apache/your website)
In this step we will setup our realms configuration which is the final step needed to make our server public.
Now to setup your realms configuration. Go to your ArcEmu folder and open realms.conf with notepad. Scroll down to the bottom, this is the important bit:
<Realm1 Name = "An ArcEmu based Server" Address = "184.108.40.206:8129" Icon = "Normal" Population = "1.0" TimeZone = "1">
Just put your IP in followed by :8129 like above in the address section.
Your server is now public, make sure your server is actually running so people can get on it! Also disable any firewalls you have on otherwise it will not work. For people to access the server they need to change their realmlists to your server address which you made at DynDNS. This is also the address that they need to use in order to get on the server website. If you're connecting locally your realmlist should be 127.0.0.1
Make 2 realms in ArcEmu
1. Make a folder somewhere named realm2 or something. And copy your old emulator in there.
2. Delete your logonserve.exe and your logonserver.conf
3. Make a 2 new SQL databases using navicat or whatever you use. ( I'll be using world2 and character 1 as examples )
4. Name 1 of them world2 ( or whatever you wish ) and the second databse character1 ( or whatever you wish )
5. Execute the SQL's you originally executed on your older DB's.
6. Go to your realm2 emulator then open the world config file.
Then change this:
<WorldDatabase Hostname = "220.127.116.11" Username = "root" Password = "root" Name = "world" Port = "3306" Type = "1"> <CharacterDatabase Hostname = "18.104.22.168" Username = "root" Password = "root" Name ="logon" Port = "3306" Type = "1">to this:
<WorldDatabase Hostname = "22.214.171.124" Username = "root" Password = "root" Name = "world2" Port = "3306" Type = "1"> <CharacterDatabase Hostname = "126.96.36.199" Username = "root" Password = "root" Name = "character1" Port = "3306" Type = "1">Now boot up your original server normally and then boot up the world.exe in your new emulator folder. And you should be all set now.
So whats happening here is that the second emulator connects to the original logonserver.exe for accounts but connects to the character1 DB for characters. Therefore you can use 1 account and create unique characters on both realms.
REMEMBER :Don't forget to set your remote password same and run just one logonserver.exe