Upload an image of a construction site to your Web Hosting


For various reasons we need to upload an image to be displayed instead of our website, such as when we upload a site under construction. To achieve this we will follow these simple steps.

 

1.- Enter our cPanel administration area with our current accesses.

cPanel Login

 

To enter it you must enter the address of your domain adding at the end "/ cpanel". Example:

domainexample.com/cpanel

After entering the correct username and password, you will see a window like this:

cPanel X

 Click on the image to enlarge

We will select the option "File Manager"

archivos

It will show us the following window:

selecciónDeDirectorios

In this window we will select the folder to which we will enter, for example if we select the option: "Home Directory" it will send us to the root folder of our Hosting.

If we select the option "Web Root (public_html / www)" it will send us to the folder where the files of our website are located. In this case it is the option that we will select.

After clicking on the "Go" button we will see the following:

cPanel File Manager v3

Click on the image to enlarge

To upload a file we must click on the button botonCargar which will show us the following screen:

cargarArchivos

Clicking on the "Select Files" button will open a Windows explorer window where we can select our image, which will be uploaded to the server automatically.

Once the file is loaded we can close this window.

With this we will have our image on the server, however it does not appear as we want on our website. For its correct operation we must create a file called: «index.html»

To create it we go to the button new filewhich will open the following window, where we will write the name «index.html«:

CrearIndexHTML

 

Once created, this file will appear in the list of files in our Web Hosting. To edit it, you have to select it and then click on the icon codeEditor

 

Inside the file we are going to write the following code, replacing "image.jpg" with the name and extension of the previously uploaded image:

<html>

<body>

<center><img src="»imagen.jpg»"></center>

</body>

</html>

 

It is important to respect the quotation marks and braces. Any questions please make a comment and we will help you.

Previous Grow up happy
Next Adjust your accounts

5 Comments

  1. ANA
    27/03/2018
    Reply

    Excellent and simple your explanation, thank you very much

    • 08/04/2018
      Reply

      It is a pleasure to have these tutorials. I hope they help you a lot !!

  2. fernando
    17/01/2018
    Reply

    Hello a question and if I want to upload a text and not an image

    • Anonymous
      19/01/2018
      Reply

      You can use the HTML editor: https://www.youtube.com/watch?v=0OjsULCJWSE
      If it doesn't appear to you or you can't use it, you can use the Code Editor and search for the text with the Ctrl + F keys and search for a part of the text.
      Greetings

  3. Adam
    05/08/2015
    Reply

    does not work with image.gif

Leave a reply

Your email address will not be published. Required fields are marked *