Now days it's usually free to set up a home server. The ISP's rarely, if ever, change the IP anymore. Especially the cable providers. Even if they do change it isn't that often. Therefore you have the equivalent of a static IP. If you have a domain name you can point your domain to your IP. If not, use your IP in the URL. You can check your router for your IP or use canyouseeme.org/ to find it and see if port 80 is blocked. You can then use something like www.wampserver.com/en/ to set up Apache and run Run Basic behind it. Or set Run Basic Preferences "Serve on port:" to port 80 and use Run Basic as the server.
My server runs on a netbook for a couple of reasons: 1. They use very little electricity. Typically a tower PC can run about $20 to $25 a month in electrical cost where a netbook will be about $2 to $4. 2. It has a built in battery for backup. My netbook will run for about 4 hours without electric power.
I thought someone might have a web site that says "Hellow World "and I could use a free web site host to set that up in... run basic...
and access it from different computuers.
You can set Run Basic Preferences "Home Page project name:" to run your home page. Usually you have a web page here that gives the user various options you want to run. For example: 1. Hello World. 2. Please Sign in. 3. Web Search
Or maybe a web site that does searches with the httpget command.
Your web search option may ask them for a search and you could use one of the existing browsers to interface your search. See: rosettacode.org/wiki/Yahoo!_search_interface#Run_BASIC
Some web sites require an email and they send you a link and you click on that link to make your account active.... Does anyone have that code?
I run several applications from home. Most require a Login. This is maintained with SQLite. The Managers can set up accounts and determine their access levels. Each person gets a personal menu. When they sign in, only information they have access to shows up in their menu.
Ok By the numbers: 1. Lets assume you have a domain name. If not, they are usually around $10 / year. Godaddy usually has decent prices. www.godaddy.com/ Since most domains are already owned, you may have to enter several names before you find a open one.
2. Your server usually listens for port 80. Some ISP's don't like you to set up servers, because they tend to be more active on the web. To see if it's blocked go to www.canyouseeme.org/ and check port 80 to see if it's blocked. If you use some other port like 8080 the user will enter the domain as www.myDomain.com:8080
For this discussion we will assume you are using a linksys router and you are using windows, and have Run Basic set to use port 80.
3. Your router assigns a IPv4 Address to each computer it talks to. Normally it's something like 192.168.1.100 To see what was assigned to your pc by your router go to the DOS prompt and type ipconfig. If you are using windows/7 then click the start button and enter cmd.
4. We now know your ip and what number your PC was assigned by the router. We need to tell the router what computer port 80 (the web service) will use so it knows where to send web request. Get into your router. To do that, in the URL type 126.96.36.199 and enter your username/password. Go to the "Accounting & Gaming" tab. This is usually called "Port Forwarding". In the "External Port" and "Internal Port" enter 80. Set the "Protocol" to Both. Now if your router has assigned your PC 192.168.1.100, enter that in the "To IP Address" and check Enabled on.
The web now know when someone enters www.myDomain.com that it should go to the compute assigned to 192.168.1.100.
5. There is still one other problem. How does the web know where to route your domain. This is done where you bought your domain. If you bought it at GoDaddy then sign in to GoDaddy with your account. Set your domain to point to your IP. You can get support from GoDaddy if your not sure how to do this. GoDaddy updates all the routers with your IP address.
Now when someone enters your Domain, it looks at the IP address setup in #5 and routes the message to your site. Your router then looks to see where to forward port 80 and sends the request to that computer..
But how does the port know to go to my website program on my computer.
It knows because you linked your domain name to your IP. When they enter your domain it goes to that domain's IP. If you don't have a domain then you can enter your IP directly in the URL to test this. If your IP is 188.8.131.52, to open your Run Basic with port 8080 then enter 184.108.40.206:8080 and it will ask for a user/pass.
Best to set it to 80 cause that's the default for web services.
What about my other RB programs I run on port 8080?
You can click on the "Launch in Browser" button on the Run BASIC Console. You can still run stuff locally even if other people are launching stuff on your Run BASIC from the web. In the Run BASIC "Preferences" tab set "Home page project name:" to whatever you want the people on the web to run. I'm running my Run BASIC behind Apache. So I left the the Run BASIC server port at 8008 since Apache uses port 80. I launch Run Basic projects from a button or a link on a web page as follows: <A HREF="http://www.myDomain.com:8008/seaside/go/runbasicpersonal?app=theRBapp" target="_blank">
is there a way to upload the RB program or a (compiled version) to the web?
Not sure why you would want to do this. The whole idea of Run BASIC Is to service web requests. But yes you can upload stuff to the users by linking them to a page where your files are located.
Normally we never want to upload programs to the users. We usually don't want them to have our code. They only see web pages produced by Run BASIC.