Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   A few questions on networks/servers.. (https://thetfp.com/tfp/tilted-technology/48710-few-questions-networks-servers.html)

VF19 03-11-2004 05:16 PM

A few questions on networks/servers..
 
Ok Im not an expert at this stuff so bear with me.

Say I wanted to setup a server. Would I connect it directly to the modem, then to the hub/switch/router? If so, how?

Talking about hubs/switches/routers, whats the difference between them all?

Talking about internet, how do people host a web site on their server? Do you need any special software?

thanks in advance

JohnnyRoyale 03-11-2004 06:19 PM

Okay, here we go:

1. If you want to setup a server, the server will have a network connection (NIC Card), rather than a modem. The NIC card will connect to the switch/hub/router with an RJ-45 cable, also called CAT-5, or CAT-5e. The cable looks like a phone cord on steroids, with 8 copper wires in stead of a phone cord's 4.

2. The difference between a hub and switch is they're both on the same LAN. A hub will forward all packets through all ports all the time, so if you have 5 computers on a hub, all packets between two of those machines will be heard by the other 3. A switch, on the other hand, has intelligence enough to know which machines are plugged into it where, so, if the same 5 machines were plugged into a switch, and 2 were talking, the other 3 wouldn't hear anything, since the switch is smart enough to send the packets only betwen the two machines.
A router, on the other hand, will connect your LAN to antoher network. For example, a cable router will connect your home network to the cable company's.

3. You need a web server to host a web site. If your looking to host a site publicly, you'll also need a domain name (tfproject.org is a domain name), and a public IP address. Apache (www.apache.org) is free, good, but can be difficul for the novice. Microsoft has server software for the Professional/Server lines, called IIS, which is easier to manage for the newer user.

BTW, if your looking to host a simple web site, nothing too big or fancy, and your not too sure how to do it, you might want to look into hosting services. There are a number of comapnies that will (for a fee) setup the domain name, the server, and give you an ID and password, so all you do is log onto the server, put in your files, and your rocking.

Cocktopus 03-11-2004 06:35 PM

there are a few considerations....

1) Most isp's block the traditional ports (web:80/443 ftp....). Many cases hosting a website violates your service agreement. You can still use an another port, but its kinda funky (looking).

2) Does your ISP give you a static or dymanic IP? A dynamic IP changes periodically, so you'd need a dyndns service to keep your domain and ip "synched." If your not planning on using a domain name, you can still hand out your ip, but again, if it changes, you'd have to let everyone know. It might not be so bad if only a few friends used it, but otherwise....

3) Since you probably have only 1 IP, you most likely would need to connect the server to a firewall/router box and set it to forward the appropriate traffic (eg traffic on port 80) to the server (the firewall/router sits between the internet and your server).

4) You need web server "software" like Apache (runs on everything) or IIS (windows).

I think the switch/hub/router subject has been discussed before. Search the board and see what you find.

sailor 03-11-2004 06:36 PM

Quote:

Originally posted by JohnnyRoyale
Okay, here we go:

1. If you want to setup a server, the server will have a network connection (NIC Card), rather than a modem. The NIC card will connect to the switch/hub/router with an RJ-45 cable, also called CAT-5, or CAT-5e. The cable looks like a phone cord on steroids, with 8 copper wires in stead of a phone cord's 4.

2. The difference between a hub and switch is they're both on the same LAN. A hub will forward all packets through all ports all the time, so if you have 5 computers on a hub, all packets between two of those machines will be heard by the other 3. A switch, on the other hand, has intelligence enough to know which machines are plugged into it where, so, if the same 5 machines were plugged into a switch, and 2 were talking, the other 3 wouldn't hear anything, since the switch is smart enough to send the packets only betwen the two machines.
A router, on the other hand, will connect your LAN to antoher network. For example, a cable router will connect your home network to the cable company's.

3. You need a web server to host a web site. If your looking to host a site publicly, you'll also need a domain name (tfproject.org is a domain name), and a public IP address. Apache (www.apache.org) is free, good, but can be difficul for the novice. Microsoft has server software for the Professional/Server lines, called IIS, which is easier to manage for the newer user.

BTW, if your looking to host a simple web site, nothing too big or fancy, and your not too sure how to do it, you might want to look into hosting services. There are a number of comapnies that will (for a fee) setup the domain name, the server, and give you an ID and password, so all you do is log onto the server, put in your files, and your rocking.

What he said.

I run my own webserver as a project to host my webpage. It is fun, but can be a lot of work too. It isnt something for the faint of heart. If you dont have the time or patience to sit and tinker for a long time, its probably best to find a host.

VF19 03-11-2004 08:57 PM

You kinda misunderstood me. I meant the cable modem, not a phone modem. My bad.
Thanks for the input.

BTW I know what Cat5 cable is. And a NIC. not that ignorant in this subject.

JohnnyRoyale 03-12-2004 04:13 AM

If your running a cable modem, do you have a router (Linksys) behind that? If so, what you can do is turn on port forwarding so that a request to the cable modem gets sent to your web server's IP address. Then from the outside, you can go http://123.123.123.123 where the 123's are the outside address of your cable modem.

And sorry for the Nic/Cat 5 stuff, but when people say their new, I try to get all the info I can in there. ;)

VF19 03-12-2004 04:02 PM

Another question: If I add another NIC to my PC, could I use two connections to my router and double the internet speed?

propaganda 03-12-2004 04:35 PM

Quote:

Originally posted by VF19
Another question: If I add another NIC to my PC, could I use two connections to my router and double the internet speed?

Wouldn't make it faster but it would leave one less port to use on the router. One NIC has normal Cat5 cable that comes from the modem and the other has crossover cable going into the router uplink port.

Cocktopus 03-12-2004 06:56 PM

Quote:

Originally posted by VF19
Another question: If I add another NIC to my PC, could I use two connections to my router and double the internet speed?
no, the bottle-neck would be the internet connection itself. unless the router has some kind of weird bandwidth throttling rules, the speed coming out of the router to your single card should be pretty close to, if not max (as long as no one else on your side of the router is downloading).

The cable modem is probably giving you ~1-2Mbs, the wan port that it connects to (on the router) can usually handle 10Mbs, and the "switch" on the router which your computer is connected to, is usually 100Mbs along with the nic in your PC.

confused yet? this is one of those cases were diagrams come in handy


All times are GMT -8. The time now is 04:43 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360