Rocketman46;11054695 wrote:As I am very new to servers. An area I have not worked out yet, is I have a website and it is running on the internet with a web address. I want to modify this website and put on my server for testing development purposes. Is the server web address something like 192.111.000 etc instead of my web address? How would I access the sever. How do I generate the test web address?
This will sort of depend on how the network is set up where you plan to work. You'll probably need to develop some understanding of how subnets work.
I'll use my current office as an example. It's not too dissimilar from the places I've worked in the past.
My Internet Service Provider (ISP) is Time Warner cable. I pay them about $50 a month for access to the internet with a download speed of about 25Mbps. They bring this service to my office by connecting a wire from their system to a cable modem in my office. This cable modem has an ethernet port into which I can plug either my computer or a router. I chose to plug in a wireless router so that I can connect more than one computer (or TV or iPad or whatever) to the internet. Here's where things get a little tricky.
If I connect to this website from any computer or device connected to my router, it will always tell me the same IP address:
http://whatismyipaddress.com/
This is because that website is tell me my public ip address -- This is the ip address that is assigned to my cable modem by Time Warner, my ISP.
Locally, however, the router has created a Local Area Network (LAN) -- this is a subnet and the addresses on it are not accessible to the public internet on the other side of that cable modem. My router is responsible for doling out temporary IP addresses on my LAN using Dynamic Host Configuration Protocol (DHCP). DHCP is used when someone connects via WIFI using a laptop, iPad, phone, or other device with WIFI. The basic idea is that the device is assigned a temporary IP address by my router so that it can send and receive traffic. These IP addresses usually look like 10.x.x.x or 192.168.x.x because those addresses are Reserved IP Addresses and as such are useful for a local, private network. The range used may depend on your router. Read the instructions.
You can also set up certain devices to have a static IP address -- i.e., ip addresses that do not change. How you do this will vary by machine. Some guy did a youtube tutorial here:
https://www.youtube.com/watch?v=o9fJWDoX4nE
Alternatively, If you plan to use this new computer you are setting up as a workstation and run your software dev programs from the machine itself, you can access its web server at 127.0.0.1 or localhost. Or, as some have suggested, you can run virtual machines on the computer, although I don't have much experience doing so.