Please link away some webhosts that you like/are using yourself.
This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
Free Wehosts?
Started by TheOddByte, 28 October 2013 - 10:37 PMPosted 28 October 2013 - 11:37 PM
Hello, I'm currently looking for a good webhost I can use since koding turns of like after 15 minutes of inactivity :|
Please link away some webhosts that you like/are using yourself.
Please link away some webhosts that you like/are using yourself.
Posted 29 October 2013 - 02:16 AM
Posted 29 October 2013 - 05:56 AM
000.webhost.com doesn't send me the verification mail so well.. I can verify and use it, + I have forgotten my password there xD ( I click 'Forgotten Password' and send it but don't get anything in the mail D: )
Posted 29 October 2013 - 06:36 AM
You can host simple websites on Dropbox… but I'd use 000 Webhost.
Posted 29 October 2013 - 07:05 AM
000.webhost.com doesn't send me the verification mail so well.. I can verify and use it, + I have forgotten my password there xD ( I click 'Forgotten Password' and send it but don't get anything in the mail D: )
Check Junk / Spam?
Posted 29 October 2013 - 11:20 AM
Hmm.. Now I finally got an message from them.. I have logged in and now it's waiting for verification.
Is there a way to re-send the verification mail?
Is there a way to re-send the verification mail?
Posted 30 October 2013 - 09:03 AM
You could also try freewebhostingarea.com, or if you don't live in Europe, x10hosting.com.
Posted 30 October 2013 - 09:12 AM
wix.com is a good one. That is what I use.
Posted 30 October 2013 - 01:49 PM
Try weebly.com
Posted 30 October 2013 - 02:05 PM
I have found one and have started on a webpage here, Now my question is.. How would you kinda load a new div from a file?
Let's say I have a file with all the 'divs' in it
Then the main file
And I don't know how to load a div from a file and replace the 'main' one with the new one..
Can someone please help me?
Let's say I have a file with all the 'divs' in it
<div id="info">
<h1>SomeInfo Header</h1>
<p1>bla bla bal</h1>
</div>
Then the main file
<!DOCTYPE HTML>
<head>
<title>Test</title>
<script>
<! Some scripts here>
</script>
<a href="#" id="info"> Info button </a>
</head>
<body>
<div id="main"><h2>Change this part with a new div</h2></div>
</body>
And I don't know how to load a div from a file and replace the 'main' one with the new one..
Can someone please help me?
Posted 30 October 2013 - 02:50 PM
You think I know HTML? I barely know Lua!-mad snip skills-
Posted 30 October 2013 - 03:29 PM
-snip-
Do you want to do this before the page loads or while the user is on the page?
Do you have PHP installed on the webserver?
Posted 30 October 2013 - 03:34 PM
Meh, I'm done with 000webhost. First, they say their auto installer is being developed, for like a hole year, second, my site was off for 13 days due to DDoSing after they SAY they'll change the IPs every 6 hours..
Now I use 1freehosting.com - your site may have 1 minute off time per day though, not that one minute even matters…
Posted 30 October 2013 - 05:01 PM
Yep It's installed, I found this while googling( Do you think this could be useful? )-snip-
Do you want to do this before the page loads or while the user is on the page?
Do you have PHP installed on the webserver?
Posted 30 October 2013 - 10:28 PM
So you are trying to change it when the user clicks something (not when the page is loaded) so it doesn't actually require PHP :)/>.-snip-
In that case, you should use jQuery.
All you have to do is add:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
within the <head></head> tags.Add a link within the <body></body> tags. Ex:
<a href="#" id="page1">PAGE 1</a>
Also add a
<div id="main"></div>
within the <body></body> tags (this is where the content will be loaded).Then you will have to write some JavaScript, so add another <script type="text/javascript"></script> but this time without the 'src' attribute.
You will write you JavaScript code within these tags.
I will just spit out a bunch of JavaScript at you (with minimal comments), I hope you go and learn what each part is doing.
jQuery docs: http://api.jquery.com
$(document).ready(function(){ // Once the document is loaded and ready:
$('#page1').click(function(){ // (Attaching an event listener.) Every time the link with ID 'page1' (the one we just created) gets clicked, execute this:
$('#main').load('/page1.html'); // Load /page1.html into the div with ID 'main' (again, the one we created above).
});
});
That should work, let me know if you are having issues.
Posted 30 October 2013 - 11:42 PM
Personally, I run the webserver at home, then I use dot.tk
Posted 31 October 2013 - 08:21 AM
Does the link have to be in the body? Since I have them in the '<head>' on my website, I kinda want to change the div when something in the dropdown has been clicked.- Hidden stuff that's helpful( Why did I hide it?!? D: ) -
And does the div file that I'm loading have to look something like this?
<div>
<h1>A header</h1>
</div>
Is this how you load a specific id from a file?
$( "#main" ).load( "content #someID" );
Posted 31 October 2013 - 03:34 PM
-snip-
The link does have to be within the body. The <head></head> tags are for meta data, like the description, CSS files and JavaScript stuff; the only thing really visible that is meant to be within <head></head> is the <title></title> tags. Now, it might work if you put some content in head tags, but it only works because modern browsers like Chrome and Firefox are smart enough to understand what you are trying to do. However, your webpage won't be complying with the HTML standards and old browsers (especially IE) will not produce the results you want. Plus there is no advantage of putting it within the head tags anyway.
The file can have anything you want. Just imagine it as if you were to copy the contents of that file and then paste it within the <div id="main"></div>. It can contain HTML and even its own scripts.
And for more information on the .load, read http://api.jquery.com/load/ .
You have to specify the URL of the file, so you can even do something like
$( "#main" ).load( "http://google.com/" );
But when you don't put in a domain and just do
$( "#main" ).load( "/page1.html" );
you are telling it to get it from the current domain. So it would automatically resolve it to 'http://yourdomainhere/page1.html'.If you are having trouble, make sure that the file is actually in the right place. Try visit the file through your browser, you should be able to type in 'http://yourdomainhere/page1.html' in your browser and it should bring you there.
Hope this helps :)/>
EDIT: No, adding a #someID to the URL won't load that element (div).
Posted 08 November 2013 - 05:37 PM
If you're capable at using git (which is the first thing you should learn to use) you can get free hosting from Heroku or Pagoda Box.
Posted 08 November 2013 - 10:33 PM
If I was going to create a website where I'd be expecting hundreds of viewers, I would definitely look at a web hosting company. But if you are like me and want just a simple webhost where you can upload your projects and share it with a few friends, I'd use a computer that you have and host an Apache Web server off of it. It's free to host, all you need is to supply the power.
Posted 09 November 2013 - 10:19 AM
For paid web hosts (no affiliate links be here) I recommend Lithium Hosting.
If you're more interested in a VPS, then I recommend Digital Ocean.
If you're more interested in a VPS, then I recommend Digital Ocean.
Posted 19 November 2013 - 09:26 PM
What do you need it for?
Posted 08 December 2013 - 03:45 PM
You can always create a gh-pages branch in a random repo with a website in it on GitHub, then enable Pages in the repo settings. You've got a website, but it does have the <blah blah blah>.github.io thing on the URL.