Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[TUTORIAL]Set Up Registration Site

Status
Not open for further replies.
Newbie Spellweaver
Joined
Dec 18, 2010
Messages
15
Reaction score
0
Re: HOW TO: Set Up Registration Site

Need a little help , please. I've just installed lampp , i put talweb files there , i modified config.php and the site works , my friends can access it , they click registration , but here comes the problem : after clicking ok after writing your acc and pass , it gives You tried to access the address which is currently unavailable. What to do now , please help me this is the only thing i need to do now! Thx!
 
Newbie Spellweaver
Joined
Aug 20, 2010
Messages
14
Reaction score
0
Re: HOW TO: Set Up Registration Site

I can access the site normally, in ubuntu and windows,
how can I do for other people to access, such as opening doors, did the full tutorial but others can not access if they can help ...

 
Skilled Illusionist
Joined
Jun 10, 2009
Messages
360
Reaction score
25
Re: HOW TO: Set Up Registration Site

I can access the site normally, in ubuntu and windows,
how can I do for other people to access, such as opening doors, did the full tutorial but others can not access if they can help ...


of course they cant access your page using this IP:
192.168. is always a IP in LAN network, so of course other people who dont have their computer in your LAN network wont be able to enter the site..thats why you need to open ports to let ppl acces through the router, otherwise its gonna block all requests.
 
Last edited:
Newbie Spellweaver
Joined
Dec 18, 2010
Messages
15
Reaction score
0
Re: HOW TO: Set Up Registration Site

If you have linux and router , you should try to install the following programs : xampp (lampp) , apache2 ,php5 , PhpMyAdmin , no-ip .

Just write the commands in terminal : sudo apt-get install xxxxx

It worked for me!
 
Newbie Spellweaver
Joined
Jun 30, 2010
Messages
40
Reaction score
0
Re: HOW TO: Set Up Registration Site

Hy guys i have a little prob whit register,my server works just fine player can connect to it but the register dont work i have modem not router i can acces my page but other's cant. Pls help Me:(:
 
Skilled Illusionist
Joined
Jun 10, 2009
Messages
360
Reaction score
25
Re: HOW TO: Set Up Registration Site

can you connect your site if you use the browser on your windows, not of ubuntu.

And how do you connect your site?

192.168.....

or do you use domain?



we need more infos to help.
The sentence "My register page cannot be accessed by others" doesnt help much lol
 
Newbie Spellweaver
Joined
May 29, 2011
Messages
12
Reaction score
0
Re: HOW TO: Set Up Registration Site

Download the file

Extract it to ur desktop and edit this files:


"config.php"


<?php
define('DB_HOST', '127.0.0.1');
define('DB_USER', 'root');
define('DB_PASSWORD', 'YOUR_MYSQL_PASS');
define('DB_DATABASE', 'db_account');
?>



// *In the field YOUR_MYSWL_PASSchange it for ur MYSQL PASSWORD.





"dl.htm"

<html>

<head>

<title>Talisman Of Ram</title>
<style type="text/css">
<!--
.Estilo1 {
font-size: 16px;
font-weight: bold;
}
.Estilo2 {
font-size: larger;
color: #FFFFFF;
}
.Estilo3 {color: #FFFFFF}
-->
</style>
</head>


<body background="./gfx/ram serve 2.jpg" style="background-attachment: fixed; background-repeat: no-repeat;background-position: center center">


<h1 align="center"><font color="blue">Talisman Of Ram Client Download</font></h1>
<p>
<table width="459" height="80" align="center">
<tr>
<th align="left"><span class="Estilo3"><font size="4" color="#FFFFFF">
</span>
<div align="left" class="Estilo3">How to install and run the client:</div></th>
</tr>
<tr>
<th align="left"><span class="Estilo3"><font color="#000000">
</span>
<div align="left" class="Estilo3">1. Extract the folder ¨Talisman Of Ram¨ inside the .rar file to your Desktop</div></th>
</tr>
<tr>
<th align="left"><font color="#000000">
<div align="left"><span class="Estilo3">2. Double Click on the Launcher "TalismanOfRam.exe"</span></div></th>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p align="center"><a href="http://www.megaupload.com/?d=01QD52B6"><img src="gfx/game.png" alt="Download Game" width="220" height="140" align="absmiddle" longdesc="Download Game"></a></p>
<div align="center" class="Estilo1"><a href="" title="Download" target="_blank" class="Estilo2"> Download</a></div>
</body>

</html>




// *On the megaupload link u'll writedown the link of ur file on the web.


after editing those two files. (U Might also edit the images inside the /gfx folder for ur own images)

NOW go to LINUX

open a Terminal and type

sudo chown USERNAME /var/www


*Note: USERNAME Reffers to YOUR username on ur Linux Machine.


Close the terminal and paste all the content of the folder inside ur LINUX MACHINE

in the directory: /var/www

and u should be good to go.. type ur IP from ur windows machine or (if u are using a router, any machine NOT connected to the network).And you should be good to go.




NOTE:

If u see '404 error'

First go to http://www.no-ip.com/
and register an account.

activate ur account. log in.
when u are logged in ur no-ip.com account

click on the button "Hosts/Redirects"

once inside click on

"Add a Host"

Hostname: *Whatever name u want.. for example MYTALISMANSERVER

it can have any termination:
*no-ip.org
*servegame.com
*sytes.net
*etc....

INSTALL no-ip on ur linux machine:

sudo apt-get install no-ip

and follow the steps till its done :p

Host Type *Select Port 80 Redirect

and its gonna ask u the WAN IP of ur server.

if u don't know what's the WAN IP of ur server.

go on linux, open firefox and type

and in port we will use the port 8080

then click "UPDATE" button.

(If u use a router: U should redirect ur port 8080 to ur LAN IP of ur Linux Machine (KNEMO IP))




NOW go on LINUX and open a terminal and type this:

sudo gedit /etc/apache2/ports.conf

and change

NameVirtualHost *:80
Listen 80


FOR THIS:

NameVirtualHost *:8080
Listen 8080


Save! and close the file ports.conf

Now STILL ON THE TERMINAL

type this

sudo gedit /etc/apache2/sites-available/default

And edit this:

<VirtualHost *:80>

CHANGE IT FOR THIS:

<VirtualHost *:8080>

Save and Close!

NOW, lets restart apache2.

in the terminal type:

sudo /etc/init.d/apache2 restart




AND TRY IT! IT SHOULD WORK JUST FINE :))

DONT FORGET TO PRESS THE THANKS BUTTON!!




hello why this command sudo chown director /var/www is no effect please refly...tnx

---------- Post added at 06:03 AM ---------- Previous post was at 04:59 AM ----------

why i cant open the command like this sudo chown USERNAME /var/www = sudo chown director /var/www... why i cant open this... please any staff there or member please refly thank you

---------- Post added at 07:41 AM ---------- Previous post was at 06:03 AM ----------

director@ubuntu:~$ sudo chown director /var/www
director@ubuntu:~$

---------- Post added at 09:41 AM ---------- Previous post was at 07:41 AM ----------

why this command is no effect to my linux... sudo chown director /var/www

director is thats my username... anybody help me..^^ please

---------- Post added at 09:56 AM ---------- Previous post was at 09:41 AM ----------

sir wer i paste the content files of tabwel... i dont know wat is /var/www directory

---------- Post added at 10:36 AM ---------- Previous post was at 09:56 AM ----------

wat is windows machine..^^ wer i see that window machin
 
Newbie Spellweaver
Joined
May 29, 2011
Messages
12
Reaction score
0
Re: HOW TO: Set Up Registration Site

hello any body help me...cuz i install the no-ip to my linux machine but i setup them wrong... how to to setup again the no-ip to linux machine...

please refly on me..^^ thank you very much if refly to me...
 
Newbie Spellweaver
Joined
May 29, 2011
Messages
12
Reaction score
0
Re: HOW TO: Set Up Registration Site

NO-ip.com username:


NO-ip Password:


Update interval in (munites):


List of host or group:


Network Device Name:


any one fill up this..for the example of no-ip configuration...tnx
 
Joined
Aug 20, 2010
Messages
1,388
Reaction score
253
Re: HOW TO: Set Up Registration Site

I did the whole tutorial.
But whenever i change the ip in Config.php to 192.168.0.247:8080,
i can only acces the page on ubuntu linux and not on windows?
This is done on bridged networking.

EDIT: i got it to work on windows "talismanofglory.no-ip.org"
but others can't connect to it only me?

I already port forwarded it on IP 192.168.0.247 and on port 8080/TCP
 
Last edited:
Newbie Spellweaver
Joined
Aug 15, 2011
Messages
12
Reaction score
0
Re: HOW TO: Set Up Registration Site

after editting the config.php and paste all files in my /var/www
when i visit my ip and localhost it only shows it works
already edit the index.html but nothing happens still same

can someone help me thanks
 
Newbie Spellweaver
Joined
Aug 29, 2010
Messages
67
Reaction score
7
Re: HOW TO: Set Up Registration Site

after editting the config.php and paste all files in my /var/www
when i visit my ip and localhost it only shows it works
already edit the index.html but nothing happens still same

can someone help me thanks

try to make index.php. Lets see if it work
 
Newbie Spellweaver
Joined
Aug 15, 2011
Messages
12
Reaction score
0
Re: HOW TO: Set Up Registration Site

sadicolas please help me,, i can only see it works,, i think thats the apache2 default page how can i change it?? ASAP
 
Experienced Elementalist
Joined
Oct 20, 2009
Messages
241
Reaction score
9
Re: HOW TO: Set Up Registration Site

how come when a friend tries to access the website hosted in my ubuntu for him loads the website on my windows xampp??
 
Status
Not open for further replies.
Back
Top