80 is their main server and 8080 is their testing server
I have an interesting question that I hope someone can help me out with.
I'm going to use c453's website and private server as an example.
c453 website accessible at port 80 and 8080
c453 private server accessible at port 80 and 8080
Both have the same IP's as well.
So, how exactly is this set up? Are they hosting their website and private server on the same exact IP and ports? How is that even possible? As far as I know accessing say, "crossdomain.xml" or "chars/list" would be routed through the server since they're not actual files or directories but accessing the domain is routed to the actual web server (apache or what not).
The problem is, if you point a production client to a private server IP then it will read the RequestHandlers like "/crossdomain.xml" but it will not find the website specific files like sfx, music, favicon, css, and js on the separate web server and vice versa.
My question is how do I get it work like the c453 website where the RequestHandlers and regular website requests work like they're using the same IP and port?
Any help with this would be appreciated, thanks!
80 is their main server and 8080 is their testing server
YEP cock
The game server isn't port 80. It is port 2050.
And for the website server, what are you talking about? The website is where the client is placed. That is it
The actual server is hosted on a VPS from Ossimic's image from another thread
News Force Head Editor from 09/14/2018 - 03/02/2020
Publicist from 11/23/2017 - 06/07/2019
Global Moderator since 09/24/2017
Minion+ from 04/16/2017 - 09/24/2017
Market Place Minion from 04/16/2017 - 09/24/2017
Minecraft Minion from 02/23/2017 - 09/24/2017
Realm of the Mad God Minion from 11/06/2016 - 09/24/2017
Middleman from 09/14/2016 - 09/24/2017
News Force Editor from 08/23/2016 - 09/14/2018
News Force (Section of the Week) from 03/21/2016 - 07/17/2017
News Force (User News) from 10/18/2015 - 09/14/2018
Donator since 03/16/2015
Realm of the Mad God Editor from 05/20/2014 - 07/08/2014
Member since 12/23/2012
Rep Power: 82
BlackRayquaza (08-27-2014),kao00723 (08-26-2014),Mitcheel (08-27-2014)
Thank you for the responses. I've been researching this for a couple days now but wasn't quite sure how yours was implemented.
Was the code for this solely added to the Program.cs under the Server project or were there additional .cs files created? Would it be possible for you to show me a snippet where this code was added?
And again, thank you for taking the time to respond donran.