Uploading Files onto a server
So far we created our domain, we found a hosting plan. We learned the basics of how to work with FTP and contacted our developer to create the pages we need for our site. Next I wanted to talk briefly about how to upload files onto our server and get our new site up and live.
Video Transcript
00:02All right, so let's summarize where we are so far.
00:05We've created our domain LearnXML now.
00:07We waited 24 hours.
00:08And as you can see in the background, it's working.
00:11It's already configured.
00:12I've waited the hours that were needed
00:14before we continued with this video.
00:16We saw how to work with the FTP, the basics of working
00:19with an FTP software or any FTP software.
00:22We've even seen how, well, we saw the files
00:25that we got from my developer.
00:27Now in this video, what I want to do
00:28is I want to get those files up onto the server.
00:31So whenever someone goes on to LearnXML now,
00:33they'll be able to see our standalone HTML file.
00:36To do that, what I'm going to do is
00:37I'm going to go into my GoDaddy FTP account.
00:40And I'm just going to take everything
00:42I have in this course right here,
00:43because this is the source files from our training.
00:46So I'm just going to click here, create a new folder,
00:48and I'm just going to call it something random for now.
00:50So let me just call this Learn.
00:56Learn.
00:58And once the FTP is done, it will create that folder.
01:02And I'm just going to select the two files
01:04and just grab them and drag them into the Learn folder,
01:07moving them away from my main host.
01:08Now there's nothing in my main host,
01:10a.k.a. if I go to it and I try to refresh it again,
01:13you'll see that there's nothing in there.
01:14It's a forbidden, it's a 404, it can't find anything inside.
01:18But that's not going to be for much longer,
01:20because what we want to do is we
01:21want to take our files from our developer
01:23and move them into our FTP client.
01:26Now before I even do that, I'm going to tell you
01:28that once I upload it, it's not really
01:30going to work immediately.
01:31And the reason is, is because by default,
01:34servers look for specific files on it.
01:36And I want to show you this.
01:38I'm going to just grab the files in the meantime
01:40as I'm talking, and I'm going to just upload all of them
01:42onto our FTP by dragging them right into the FTP.
01:44And you can see that it's just going to start uploading it.
01:47Every FTP software today is capable of that drag and drop.
01:51Once the files are up, we're going
01:52to see why they won't work.
01:54In the meantime, I'm going to tell you
01:55that the reason why it's not going to work
01:56is because when I go onto my domain directly,
01:59I'm not going to the standalone.html.
02:02If I wanted to see the standalone.html,
02:05I would have to type slash standalone.html.
02:09But what if you want your domain, which you do.
02:11You want your domain to be able to be visible as soon as you
02:14go to your base domain.
02:16So by default, almost every single hosting package,
02:20and that includes GoDaddy that we're working with,
02:22will search for a few files.
02:24Usually they will search for, if it's a Linux server
02:27like what we have here, it's going
02:29to search for index.php.
02:31And if it can't find that, it's going to search index.html.
02:35And if it can't find that, it will search for index.htm.
02:38And some of them will even go to default.php or default.html.
02:44Every server is a little bit different,
02:45but almost every single server in the world
02:48will accept an index.html.
02:50So now that our file was uploaded,
02:52let's first see that even though it was uploaded,
02:54if we refresh, we won't see that anything changed.
02:57But if we go to the standalone.html,
03:00so if I come to the end of the URL
03:02and I write standalone.html, and I click Enter,
03:09oh, I probably didn't type it correctly,
03:10so let me grab, oh, it's standloan.
03:13Not alone, standloan, which is such a horrible name anyways.
03:18So you'll see that standloan does load.
03:20But really, we don't want standloan.
03:22What we want is a regular index.html.
03:25So let's fix that.
03:26It's really, really easy.
03:27We could go right into our FTP account,
03:30or if we did it originally, we could have
03:32went to our original files and updated them.
03:34And all I'm going to do right here
03:36is I'm going to change the copy in my standloan.
03:38But by the way, the way I did is by clicking
03:40and then just clicking again next to where the text is
03:42if you're working in CyberDuck.
03:44If not, you could always find a right click,
03:46and you'll probably find a rename option,
03:48which you'll see right here.
03:50And then you could come and rename it,
03:51and we're going to name it index, I-N-D-E-X dot HTML.
03:56Once the file is called index.html,
04:00and we go onto our server and click on Refresh,
04:02we will now see that our page is loading,
04:05and it's loading even without any extras, which
04:07is exactly how we wanted it to look like.
04:09Now, there's a lot of work we need to do on this file.
04:11Actually, really a lot of work we
04:13need to do, fixing URLs, updating, copying the images,
04:17setting it up for SEO, adding our real copy
04:20to make it SEO proof and ready.
04:23But before we do that, in case you don't know HTML,
04:27I decided to give you a free extra in this course,
04:30teaching you only the important elements
04:33you need to know in HTML to be able to be a great SEO
04:35content manager.
