How do i load my html files into the internet? - html

I am learning the html course from the available tutorials on the internet. And with that knowledge I have developed some html files and I believe there is more to go. These files consist of our old school friends and their present condition and what they're doing. I have created a bunch of html files. Like I have created a website for now named as www.mypage.com
Arjun
So in the href I'm just giving the path but those files are in my desktop pc itself. How do I put them on internet and share with my friends who are living somewhere out of this town. I want to reunite all of my school friends using these files. But where do I upload them and make it like a webiste to my friends? Is there any free way to do that? Or any possible way to reach it.
And I'm saying sorry if the question is not for the tag I mentioned. Please let me know and I remove the tag. I don't know what is the link to wikiposts to share my views. If you know then let me see the link. Thank you.

Find a web hosting service (Google knows lots)
Sign up
Follow their instructions
Arjun
And use relative uris

I use http://webhosting.uk.com ... for about £32 a year you get asp.net hosting and access to sql server.
then you simply ftp up to your website something like this (using windows explorer) ....
ftp://mysite.com <-- not a real link
... that would then open up the remote server as if it was a local folder so you could drag and drop your files straight over.
there's an online chat link on the top right of the homepage, the support staff will walk you through getting setup.
don't forget though ... the cost of the domain name that's the bit that turns your server ip address in to stuff like google.co.uk ... I highly recommend them.

I shall just expand on Quentin's answer, because it is clear that you are new.
What you need is a web hosting service. This is a service which hosts your html pages, meaning stores them in their own computers, and also displays them to the world as webpages. Web hosting services are usually paid, but there are some excellent free services if your content is not too big. A simple and free service that I would recommend is Google Sites. You could also try Google App Engine, where you have more freedom and control over your content, but for the same reason it is a little more advanced. But since you are learning html, I believe it is a wise idea to learn more about these services and related concepts.
When you upload your files, the html links need to be changed. They can no longer point to files in your hard drive. When you upload these files, there will be a directory structure in it. All you need to do is place hyperlinks with relative addresses.
And about what your website will be called, www.whatever.com, that is quite another business. For that, you need to register your own domain name, for which you must pay. If you don't want to, then your website will be labelled something under the hosting service domain name. This forum is not adequate to go into a more elaborate explanation of all this, but I think I have mentioned all the key terms, so do some research!

Related

Website hack line appearing on wordpress homepage

Helping a friend's company with their website. They have a random bit of code appearing on a bar near the top of what looks to be just on the homepage:
http://snakeoilcocktail.com/
The line is here according to the source:
<div class='dc'>You take that to bank:same day loans. Buy there a atv armor set</div>
I used a plugin to do a String check to find out where the line is but I can't see where it's located to edit it. Any help would be greatly appreciated.
Thanks!
Looks like there's some malware injected on the site. In the top navigation under "Beverage Catering and Event Mixology" there's what looks like some malicious JS code that's adding a div with a class of "dc". Not sure what your setup is, but I'd advise checking into this plugin: https://wordpress.org/plugins/sucuri-scanner/
It'll tell you if any of the core Wordpress files have been hacked, or if it recognizes any files that aren't part of WP.
They have a free quick scanner, check this out: https://sitecheck.sucuri.net/results/snakeoilcocktail.com/
Revolution Slider is a big risk :) (Note the comment on Sucuri) It's supposedly been patched but they ran into a huge security issue where thousands of WP sites were infected. Happened to a couple of sites I took over as well - I completely removed it.
In other words, if you have to keep the Revolution Slider plugin, update it ASAP. It introduces a vulnerability that allows hackers to upload arbitrary files to your site - bad news. They often upload something that gives them read access to the wp-config.php file so they can get into the database as well. (http://securityaffairs.co/wordpress/35431/cyber-crime/revslider-plugin-vulnerable.html)
It has to be somewhere! So either one of your plugins is outputting that code or it has been hacked into your theme.
First, try to deactivate all the plugins one after each other to find out if a plugin causes that issue. If that doesn't help, you may need to go through each file in the theme until you found the target. Also notice that the code could look different in a file than the code which you have posted in your question.
Your website must gave been infected with a malware/adware of some sort. This usually happens when you are using a free hosting service. Check whether your friend is using a free hosting service to host his website. Some of those providers inject advertising content into free hosted websites to make revenue.
If this is not the case,
Restore to previous backup
Disable any plug-ins used on the website
Check through the code for any suspicious lines.
Delete all the files on the web server if possible and try re-uploading
the source files.
Migrate to a hosting provider such as goDaddy, AWS etc for security of
your website.

Integrating a HTML css code to domain

I ve got some knowledge in writing html and css so my friend wanted me to design something for him.But I dont have much knowledge about file transfer etc so I dont know how can I push my files to that domain and I could not find a trustable method in google.So basically how can I put my html code into a domain
Choosing a piece of software that can do FTP for transferring files to/from a server would be the first place to look.
I personally use FileZilla
You'll need the details of the web server and account to login.

Uploading Pages made on Dreamweaver to the Internet

I have created several html pages using Adobe's Dreamweaver. I was wondering what are the steps that I need to take in order to upload these pages onto a live website. I already purchased a domain name.
Basically, I am a newbie who has no idea how to upload HTML documents onto the web.
You need someone to host your website. The DNS records for your domain name should then be pointed to your hosts web servers on the internet. The host will provide you with FTP information to FTP your files up to the web server which your pages will be served from.
The simplest thing to do is get a server to host your files online. Of course, you can use your own computer to host the files but there are some pros and cons to that. Theres the fact that you can get a lot of space but you need your pc to be on all the time.
Or you can use an online hosting service to host your files. Hosting can be free or paid, and mostly free hosting requires you to use ads on your website. But I'd suggest use x10hosting or 000webhost. Upload all your HTML files (you can log in and upload the files through your internet browser, preferably GOOGLE CHROME, then see your web page come to life on the internet.
There are a load of things I can talk about but I wont go on about SEO and FTP's, just for now use x10hosting if you are looking for something free and of good quality, or use 000webhosting if youre looking for something free and easy.

Adding download option to website

I have been roped in to help design a website for a local charity. I am currently a university student that has experience designing sites to good effect (Within university). I am comfortable using the relevant languages and packages. What I am not so sure about is hosting.
If I have a site that has a newsletter, for example. If I wanted the user to be able to download that newsletter, would I simply have that file uploaded somewhere on the hosting server and simply provide a link to that file?
Thanks
Yes. Although you might also wish to use a Content-Disposition HTTP header to ensure that the file gets saved rather than opened in the default application for whatever file type it uses.
Yeah, that's really all you have to do. The only thing is if its a file that the users browser will attempt to open then you need to force the download like David said, this would be the case for a pdf file, such as a newsletter like you said. And yes, to answer your other question, all hosting providers will support downloads like this.

simple way to quickly edit my website

here's my website:
www.newportclassic.com
do you know of any free, easy to use, content management systems, that will allow me to simply edit the text on my site without having to download the file, open the file, edit the code, save the file, upload the file ???????
I know of a few CMS's that have done well, here are two of them.
Wordpress - free - http://wordpress.org/ - 3.0 is coming soon
Perch - paid - http://grabaperch.com/ - very light and easy
Wikipedia has a very good list of content management systems broken down by language and cost (open source/proprietary) and DBMS. Most of the ones I've used/evaluated in the past have been .NET based, such as DotNetNuke. Pretty much any CMS will give you the ability to edit your HTML without changing any files on your web server. If you're going for simplicity, the Wikipedia list has several that use a flat file instead of a database, so I would start there: http://en.wikipedia.org/wiki/List_of_content_management_systems#File_.2F_Flat_file
As an alternative to installing a CMS on your server, you might be interested in a service like CushyCMS. It allows you to specify what parts of your page are editable by setting an appropriate class in each editable div tag. Then to edit the contents of those div blocks, you log in to the CushyCMS site and make your changes right there. CushyCMS connects via FTP to the server for you and updates the HTML page.
You can use emacs -- it has a mode (tramp) where you can open, edit and save remote files as if they were on your local machine. This makes it really easy to edit files on a webserver.
haven't used it myself but i've heard Surreal CMS is quite good and easy to setup. Here's a tutorial to get you started.
In terms of user friendliness zimplit is hard to beat.
Try their demo.
You can literally edit your website with a wysiwyg interface inside your browser.
Refinery HQ is probably the easiest way to create, edit and update your website. You can upload images and files as you describe in your question.
You can also connect it to your own domain (it's a hosted service). So you'd be able to hook the site you create up to newportclassic.com