• 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!

Windows Using 2 PC's via Lan to Host Webpage +DB and another to Server only

Vikarious

New Member
Joined
Dec 16, 2008
Messages
93
Reaction score
2
I think my title isn't explaining it properly.

What I i wish to know is:

Can I do this:

PC 1 = Conected to world wide web. It has Xampp running website + hosting dbs

PC 2 = Conected at PC1 via LAN. It will run the server.

So, player will log in at PC1 when accessing webpage, checking scores and etc, then when player use client to play, what I must to do, to make this player be able to log in at PC2?

Remembering I'm not using router, only a pc wich have 2 LAN.


So far, if its not possible to make things this way, how could I run server + webpage DB and all stuff, only in PC2?

Could it be done?

What could I do to players get acces trought this kind of LAN to PC2?


Waiting for any suggestion!!
 
so, ok, after pf 7171 n' 7172, what ip should I put in config.lua? the normal ip xxxx.no-ip.org?


it would give too much work to configure xampp the 'talk' this way, with PC2? so, maybe I may think of let all in one PC. In that case PC2.

If I let all stuff on PC2, when people try to http://xxx.no-ip.org, it would work normally?

I was thinking to make with PC1 and PC2, cuz' when game server happen to be off for some crash or whatever, the webpage would still be displayed for players normally.

But maybe with my actual level of knowledge, better do all-in-one thing.
 
YOu got one global ip. We call this 123.123.123.123.

You got multiple internal ips, we call them 192.168.1.1-192.168.1.3.

Forward 80 to 192.168.1.1
Forward 7171, 7172 to 192.168.1.2
(192.168.1.3 is internal only, DB)

Forward your global ip 123.123.123.123 to your hostname.

Done.
 
Back
Top