• 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 [Tutorial] How to Setup the Xampp Webserver (Windows)

Status
Not open for further replies.

Delirium

OTLand veteran
Staff member
Global Moderator
Joined
May 28, 2007
Messages
3,365
Solutions
1
Reaction score
289
Location
Athens, Greece
Hello there.We are going to learn how to setup the xampp webserver.

1) Download Xampp for here Xampp Latest Version

2) After you download it install it to C:
Now open the Xampp folder and run setup_xampp.bat If it writes "Sorry nothing to do" then it means that your Xampp is installed! Now we must test if it was installed correctly.Run xampp_start.exe and then open the xampp control panel.

3)After you open the control panel check if near Apache says "Running" If it says running then don't do anything.If it doesn't says running then click on "Start" Which is near Apache too.

4) If you have a router then you must port forward.go to www.portforward.com
When the site opens,select your router.After selecting your router you will see a list of games.Find "OtServ" and click it.Then you will see how to forward ports.Forward ports 7171 and ports 8000.With the same way forward ports 80 and 8080.[size=x-large]Note if you don't have router skip this step[/size]

5) Now when you forwarded the ports go to http://localhost/ ( if it doesn't work try https://localhost/ )If it opens the xampp page this means that xampp is working!

6)Now you need only to download an aac for your server.You can find some here http://nikolas1994.googlepages.com/

7)Open your xampp folder->go to htdocs and delete whatever is in there.Open the AAC file you downloaded and put them all in the htdocs file.

8) Now go to http://localhost/index.php If you see the aac you've downloaded then it means you have a fully working xampp+aac.

9) Now if people want to view your site they must write http://youriphere/ To find your IP address go to www.whatismyip.com and copy the number that you will see there.For example if you see 12.34.56.78 then it should be http://12.34.56.78/ the link for other people to view your website.


Trouble shooter:

If xampp with port 80 doesn't work:

go to control panel->windows firewall then go to its second tab.It is named "exceptions" If not then go to the second tab anyways.

Click on "open port" and write Port name: Xampp,port number 80,TCP and click "ok"

Then click again "open port" and write port name: Xampp,port number 80,UDP

With the same way open ports 8080 and 8000.Then reboot your PC and
it should work!

Doesn't it work?
There is an alternative way to make it work!

Still got problem? Ask here!
 
RE: How to Setup the Xampp Webserver (Windows)

Very usefull tutorial. Stiky?
 
RE: How to Setup the Xampp Webserver (Windows)

Don't sticky tutorials, they're all useful.
 
RE: How to Setup the Xampp Webserver (Windows)

how do i set up no-ip with the server and the server site ? and how do i load the server... i guess to xampp ? sorry im new and yes im a noob but learning one for that matter. =) thanks
 
RE: How to Setup the Xampp Webserver (Windows)

www.no-ip.org for no ip

to load the server? what do you mean? activate the server maybe?
 
RE: How to Setup the Xampp Webserver (Windows)

i have the no-ip account set up but i dont know how to run the server from the no-ip address and im now stuck on the xampp part after you import the .sql file.. what do i do next ? the tutorial quit on me =)
 
RE: How to Setup the Xampp Webserver (Windows)

visit the SQL tutorial i've made.To run a server with your no-ip just run the .exe :D
 
RE: How to Setup the Xampp Webserver (Windows)

when i go to the .exe its says.. loading bans... MySQL Error mysql_select_db... error: Unable to load bans. any idea ? and im sorry bro =)
 
RE: How to Setup the Xampp Webserver (Windows)

yes,you need to have a MySQL server running
 
RE: How to Setup the Xampp Webserver (Windows)

Yes, I do have the Apache & Sql on xampp running and then i click on my server.exe and it says unable to load bans can figure anything out about the bans.
 
RE: How to Setup the Xampp Webserver (Windows)

Check the config.lua settings about the database then.
 
RE: How to Setup the Xampp Webserver (Windows)

ok i got the bans to say "[Done]" i had wrong DB file loading in config.lua but.. now it says unable to load guilds... err
and theres nothing on config.lua about guilds only things about it is on the phpmyadmin DB.
 
RE: How to Setup the Xampp Webserver (Windows)

¬¬

Have you imported forgotten.sql in your database?
 
RE: How to Setup the Xampp Webserver (Windows)

Oo oO.. now says.. Server online. Hella WooT! =)
Can you help me with my next step ?
How do i make my server ip link up to my no-ip address ?
 
RE: How to Setup the Xampp Webserver (Windows)

Shouldn't this tutorial be in "other tutorials" forum?
just asking ;)
 
RE: How to Setup the Xampp Webserver (Windows)

No,it has to do with otservs
 
RE: How to Setup the Xampp Webserver (Windows)

ok i have a problem when i try loading my other ot says... Unable to load commands.xml but all commands are listed in the commands.xml file weird Why ME!! :) jk jk
 
RE: How to Setup the Xampp Webserver (Windows)

typo in commands.xml or non closed tags
 
RE: How to Setup the Xampp Webserver (Windows)

i get this when i did this lil tut
Could not connect to mysql database: Unknown database 'forgotten'
any reason y?
 
RE: How to Setup the Xampp Webserver (Windows)

Farrell said:
i get this when i did this lil tut
Could not connect to mysql database: Unknown database 'forgotten'
any reason y?

have you made a database in http://localhost/phpmyadmin ?
 
Status
Not open for further replies.
Back
Top