Jump to content




Free Wehosts?


22 replies to this topic

#1 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 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.

#2 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 29 October 2013 - 02:16 AM

000webhost.com

#3 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

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: )

#4 nutcase84

  • Members
  • 711 posts
  • LocationIn My Lonely Little Computer Corner

Posted 29 October 2013 - 06:36 AM

You can host simple websites on Dropbox... but I'd use 000 Webhost.

#5 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 29 October 2013 - 07:05 AM

View PostHellkid98, on 29 October 2013 - 05:56 AM, said:

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?

#6 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

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?

#7 InputUsername

  • Members
  • 231 posts
  • LocationThe Netherlands

Posted 30 October 2013 - 09:03 AM

You could also try freewebhostingarea.com, or if you don't live in Europe, x10hosting.com.

#8 Agoldfish

  • Members
  • 451 posts
  • LocationSome Fish Bowl in Ohio.

Posted 30 October 2013 - 09:12 AM

wix.com is a good one. That is what I use.

#9 DiabolusNeil

  • Members
  • 29 posts
  • LocationCalifornia, United States of America

Posted 30 October 2013 - 01:49 PM

Try weebly.com

#10 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

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
	<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?

#11 Agoldfish

  • Members
  • 451 posts
  • LocationSome Fish Bowl in Ohio.

Posted 30 October 2013 - 02:50 PM

View PostHellkid98, on 30 October 2013 - 02:05 PM, said:

-mad snip skills-
You think I know HTML? I barely know Lua!

#12 Shazz

  • Members
  • 175 posts

Posted 30 October 2013 - 03:29 PM

View PostHellkid98, on 30 October 2013 - 02:05 PM, said:

-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?

#13 mrdawgza

  • Members
  • 110 posts
  • LocationSouth Africa

Posted 30 October 2013 - 03:34 PM

View PostZudoHackz, on 29 October 2013 - 02:16 AM, said:


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...

#14 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 30 October 2013 - 05:01 PM

View PostShazz, on 30 October 2013 - 03:29 PM, said:

View PostHellkid98, on 30 October 2013 - 02:05 PM, said:

-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?
Yep It's installed, I found this while googling( Do you think this could be useful? )

#15 Shazz

  • Members
  • 175 posts

Posted 30 October 2013 - 10:28 PM

View PostHellkid98, on 30 October 2013 - 05:01 PM, said:

-snip-
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 :).

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.

#16 rhyleymaster

  • Members
  • 186 posts
  • LocationCanada

Posted 30 October 2013 - 11:42 PM

Personally, I run the webserver at home, then I use dot.tk

#17 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 31 October 2013 - 08:21 AM

View PostShazz, on 30 October 2013 - 10:28 PM, said:

- Hidden stuff that's helpful( Why did I hide it?!? D: ) -
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.
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" );


#18 Shazz

  • Members
  • 175 posts

Posted 31 October 2013 - 03:34 PM

View PostHellkid98, on 31 October 2013 - 08:21 AM, said:

-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).

#19 zekesonxx

  • Signature Abuser
  • 263 posts
  • LocationWhere you aren't

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.

#20 1vannn

  • Members
  • 111 posts
  • LocationOhio, USA

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users