Creating a server?
Creating a server?
Hello,
I want to learn how does it work and I believe doing it myself would teach me the best.
I want to create a server and when I go to an address I set I get from this server a HTML page.
I thought about installing a virtual machine with Ubuntu server edition and start from there.
What say you?
Also, what else would I need to know/have to do what I want?
P.S
I'm trying to imitate the behavior of configuring a router.
I want my virtual machine to take the role of the router and my main machine as a client side machine and get info from the "router" - my virtual server machine.
I want to learn how does it work and I believe doing it myself would teach me the best.
I want to create a server and when I go to an address I set I get from this server a HTML page.
I thought about installing a virtual machine with Ubuntu server edition and start from there.
What say you?
Also, what else would I need to know/have to do what I want?
P.S
I'm trying to imitate the behavior of configuring a router.
I want my virtual machine to take the role of the router and my main machine as a client side machine and get info from the "router" - my virtual server machine.
Does that mean that someone else on the internet can enter URLS of my server and I could serve him with HTML pages?bitplane wrote:You can bridge your virtual network with your real one by using the "bridge connection" option in Windows, or you can set your VMWare / DOSbox / Virtual Server machine to use NAT and share your PC's IP address.
-
twilight17
- Posts: 362
- Joined: Sun Dec 16, 2007 9:25 pm
Yes, but they will have to type in your IP address.MasterGod wrote:Does that mean that someone else on the internet can enter URLS of my server and I could serve him with HTML pages?bitplane wrote:You can bridge your virtual network with your real one by using the "bridge connection" option in Windows, or you can set your VMWare / DOSbox / Virtual Server machine to use NAT and share your PC's IP address.
Post this userbar I made on other websites to show your support for Irrlicht!

http://img147.imageshack.us/img147/1261 ... wernq4.png

http://img147.imageshack.us/img147/1261 ... wernq4.png
Something like :
http://MyIpAddress.MyURL
?
Awesome! thanks.
P.S
Is there a way to shorten the complete url?
http://MyIpAddress.MyURL
?
Awesome! thanks.
P.S
Is there a way to shorten the complete url?
-
twilight17
- Posts: 362
- Joined: Sun Dec 16, 2007 9:25 pm
It will be like http://XXX.XXX.XXX/.
There are servcies such as DynDNS which will allow you to type in something like http://[NAME].kicks-ass.net/ (There are other domains besides kicks-ass.net available, too)
There are servcies such as DynDNS which will allow you to type in something like http://[NAME].kicks-ass.net/ (There are other domains besides kicks-ass.net available, too)
Post this userbar I made on other websites to show your support for Irrlicht!

http://img147.imageshack.us/img147/1261 ... wernq4.png

http://img147.imageshack.us/img147/1261 ... wernq4.png
-
nathanf534
- Posts: 199
- Joined: Tue Dec 09, 2008 2:55 am
I downloaded apache for windows a while ago, and i could easily set up a server. All i have to do is drag some files to a ceratin folder, and they can be accessed from the internet, using http://xx.xxx.xxx.xx/file_name.ext
where x is my ip address.
where x is my ip address.
while(signatureEmpty){cout<<wittyComment();}
try http://www.apachefriends.org/en/, it is really simple to setup webserver with PHP and MySQL included.
If you want to set up a server on Ubuntu Server you will first have to install apache, mysql and php. Then you will have to create your index.html file in /var/www/ . Then you need to assign a static internal ip to your server and then you will have to determine whether you have a static or dynamic external ip. Its most likely the latter. If so you will need to sign up at dyndns or no-ip.com and then link that to your dynamic ip which it will track. There are a number of security issues with hosting your own server that you will have to take into account, patching for websites is not something you can delay especially if its connected to your local network! There are other things you will have to look into such as firewalls etc.
Hopes this helps. I run linux btw.
Programming Blog: http://www.uberwolf.com
Thanks, it does help.dejai wrote:If you want to set up a server on Ubuntu Server you will first have to install apache, mysql and php. Then you will have to create your index.html file in /var/www/ . Then you need to assign a static internal ip to your server and then you will have to determine whether you have a static or dynamic external ip. Its most likely the latter. If so you will need to sign up at dyndns or no-ip.com and then link that to your dynamic ip which it will track. There are a number of security issues with hosting your own server that you will have to take into account, patching for websites is not something you can delay especially if its connected to your local network! There are other things you will have to look into such as firewalls etc.Hopes this helps. I run linux btw.
I also read that Ubuntu 8.10 Server edition comes with all this built-in pre-configured - Is it like it sounds, could it be that easy?
Did you use/tried Ubuntu Server edition before?
Also what problems should I expect if I'm doing all of this on a virtual machine?

