Forums

ForumsProgramming Forum

Question about Internet

Posted Oct 1, '12 at 8:18pm

_Spaz_

_Spaz_

126 posts

I browsed the net a little bit and could not find the answer to this question:

Is it possible to have your own sort of "internet" where only certain people can go onto a server or something of that sort. Is there something similar to my question? Please point me in the right direction.

Thanks,

Spaz

 

Posted Oct 2, '12 at 9:33am

jeol

jeol

3,565 posts

Yes and no, and the answer may be a little complicated.

You can obtain some domain and subdomain (pay or free, though pay allows you to do more) and set it up so that only those with a certain username and password in your database can access it. You'd have to have a good base in PHP and MySQL though, being the easiest options and usually you have a lot of help if you need it.

You can also set up a network (sort of like a LAN [Local Area Network, within your own wifi access point) that only those in your network can access. If you get a separate hard drive connected to the router, this becomes especially easy, sort of. You can have just a bunch of HTML files interlinked, or if you want an actual server, download something like UniServer and get it all set up so that you can setup and use PHP and MySQL and Apache all at the same time. As long as you can connect to it through the router, anyone in your network can connect to it.

I'm not sure if there are really any options outside of that. You could probably set up some complex network alongside the Internet that you all can connect to if you're on seperate networks, but it may be plenty easier to actually build the site with PHP and MySQL and require a username and password to actually get into the site.

In that case, if you're not going to be using the site outside of general use and you don't care for ads or anything of the sort, you can get your hands on a free subdomain on which you can possibly set it up. One thing that you'll have to keep in mind, though, is that often free subdomains don't have as much flexibility as if you paid for a server. I used a free one for a while until I found out that even though it said it could use MySQL, it was incredibly limited and I could hardly even get a database set up on it. Then my brother gave me a subdomain of his own domain, so I still don't pay but I get much more flexibility. :P If you're going to be spending a lot of time investing in the site, though, I suggest paying for a domain (unless you can convince a friend to lend you a subdomain). You'll get a much simpler URL to learn as a bonus. :P

 

Posted Oct 2, '12 at 5:18pm

Salvidian

Salvidian

3,950 posts

The easiest thing to do would be to just set up IIS. Every Microsoft computer has it. Go to Control Panel > Programs and Features > Turn features on or off (Left side of your window) > Internet Information Services. If you have an old computer, it'll say PWS instead of IIS. If you have a Mac, you're screwed, sorry. This will enable servers within your computer and network. I did it while learning ASP, which is virtually a dead language now (lol). From there on you can set up an Intranet network and, if you know how to code anything at all, code pages through notepad and save them as an .html file.

That's a rough way to do it, but you can literally do anything, like sharing files, creating your ow web pages for use between your computers, and if you're really advanced you can view any computer in your house, as long as it's connected to the internet. If you want, you can even stream music to video game consoles.

To physically connect your computers together, you'll need to connect them to the network wirelessly as long as you have the ability to connect to wifi. Instead of connecting to the wifi internet, connect to your network, which should be listed right by your internet. If you need to do it with wires, I'm pretty sure Ethernet cables work fine. You'll need one of those splitty-things.

Other than that, jeol pretty much covered everything else.

 

Posted Oct 2, '12 at 9:45pm

_Spaz_

_Spaz_

126 posts

Any links to detailed instructions? I appreciate all this help by the way. The only reason I would want this is so me and some friends can connect to our own network and do anything you could do (file sharing, IM, etc.)

 

Posted Oct 2, '12 at 11:30pm

jeol

jeol

3,565 posts

If you're wondering about programming websites, that's a bit of a hobby to get into. First you might want is a good text editor.

There are two that I've used in the past that I really like. First is Notepad ++. Think Notepad, but about a thousand more features that are much nicer for web development. Another good one that I use currently is Sublime Text. It has a handy little bar to scroll through a really long document and I like the color schemes it provides. It's also cross-platform, which can be nice if you're using a non-Windows computer (I actually have Windows 8 consumer preview downloaded on the computer I use, so I can't even use Notepad ++ - this one still works, though, and works great).

Next is to find a good site to learn HTML on. W3Schools is good for learning the very basics, but when you're getting into more indepth programming (like PHP and MySQL and Javascript and such) I wouldn't suggest it. If you want video tutorials, you can listen to this guy talk. I haven't looked much at his tutorials, but my friend really likes him. Those sites should be enough to get you past HTML and CSS. Practice, a lot. If you get a subdomain or some website that actually connects to the Internet, I suggest checking to see if it's right with this nifty thing.

Once you get ready for much more indepth *cough*actual*cough* programming, I would even look back at W3Schools and New Boston to get the very basics down. If you want to get serious, though, I suggest getting a book on PHP, MySQL, and Javascript (and HTML5 and CSS3, but you could even learn that stuff on W3Schools). I'm working through this book right now, and it seems to have a lot of useful information as well as directly confronting what you asked in the OP. Plus, it has squirrels on the cover, soo...

I already mentioned UniServer, so if you get that you should be set.

Of course, if you want a really cheap way out, you could just get something like UseBB Forums to communicate. As for simply file sharing, I suggest Dropbox (technically, you could do all of the HTML stuff on Dropbox too, though I don't know if you can actually run a server on it). Does that answer your question, or did you have something else in mind?

 

Posted Oct 3, '12 at 12:56am

_Spaz_

_Spaz_

126 posts

Well, I guess I forget to mention I know HTML...lol. Funny thing is I thought to myself to start java script which I just started and then from there I will learn PHP and mySQL

 

Posted Oct 3, '12 at 5:08pm

Salvidian

Salvidian

3,950 posts

I'd learn PHP first. Javascript is more for each individual page, but PHP is more for networks and servers. Besides, if you do something like add a chatbox in through Javascript, your friend won't be able to access it if it isn't connected to a network. PHP allows you to connect pages to networks through code, which is phenomenally useful in further network and server building. After all, you wanted to set up your own "internet," and PHP is an awesome tool to do it with.

Notepad ++ is awesome. If you want to build stuff from scratch, go with it. jeol is right there.

W3Schools isn't bad for HTML, as HTML is for beginning beginners, but it isn't great for CSS. It gives you the jist on how it works, but you'll never get to do anything with it that you couldn't already do with HTML. Then again, there are a lot of websites out there that don't do a justice for what CSS can do.

 

Posted Oct 3, '12 at 7:12pm

_Spaz_

_Spaz_

126 posts

I went on W3schools (that's where I learned HTML) and in the introduction it suggested that I learn Javascript and HTML before starting PHP...so should I completely ignore that suggestion? Would Javascript make it easier to learn PHP?

 

Posted Oct 3, '12 at 10:53pm

AceofSky

AceofSky

728 posts

Any links to detailed instructions? I appreciate all this help by the way. The only reason I would want this is so me and some friends can connect to our own network and do anything you could do (file sharing, IM, etc.)

Judging from only this quote, instead of setting up a detailed server you could take the shortcut and use a program like Team Viewer for file sharing, IM/chat, and even controlling the other person's computer. (With their approval of course).

If that is not the way you want to do it then follow Salvidian's and Jeol's advices.

 

Posted Oct 4, '12 at 7:08pm

_Spaz_

_Spaz_

126 posts

TV is an amazing tool, but this would be a personal project that I want to create for my personal friends. I guess it would work just like TV! Thanks for the suggestion!

 
Reply to Question about Internet

You must be logged in to post a reply!