Showing posts with label stored. Show all posts
Showing posts with label stored. Show all posts

Wednesday, August 26, 2015

How to Change Apache 2 Index.html


Log in to the remote server through SSH, or open a terminal window if you are located with the server.
Type 'cd /etc/apache2' at the terminal prompt to change to the Apache 2 directory where the configuration files are stored.
Open 'apache2.conf' in a text editor such as vi, pico or nano. Search for the 'DirectoryIndex' line, which will look similar to the following:DirectoryIndex index.html index.cgi index.pl
Edit the line to include new filenames, or remove existing pages. For example, you could change the directive to:DirectoryIndex index.php index.htmFiles are searched in the order which they appear, so the first file matching a name in the list will be displayed to the visitor. Save the file and close the text editor.
Restart Apache by typing '/etc/init.d/apache2 restart' at the terminal prompt.
VPS Hosting

Thursday, August 20, 2015

How to Upload a Website to GoDaddy


Open your FTP client and type in your GoDaddy hosting account username and password. If you want to avoid using a third-party FTP client, you can use the built-in GoDaddy FTP client; however, this is not recommended for large files. To access the GoDaddy FTP client, go to 'Hosting' under 'My Products.' Click 'Manage Account' by your hosting account. Under 'Content', click 'FTP Client.'
Navigate to the folder on your server where your new website files will be stored. In most circumstances, use the initial directory.
Go to the folder on your hard drive that contains your website’s HTML files.
Once you have successfully logged in to your server through the FTP client, drag and drop the files from your hard drive to the server. Make sure you have an index.html file; this is the initial page of your website that will be seen when someone types in your domain name. For example, www.yoursite.com/index.html is equivalent to www.yoursite.com.
Visit your domain name to see if the files uploaded correctly. Under most circumstances, your site should be live instantaneously. Refresh your browser if you do not see any changes.
Troubleshoot any problems that arise. Click on every link, particularly internal links, to see if they are working properly. If they are not working, go back to the raw HTML file and correct them as needed. All link and image paths should be relative to the domain and not paths on your computer. For instance, a header image might read file:///C|/my documents/photos/header1.jpg in the source code when it should read /images/header1.jpg or http://www.yoursite.com/images/header1.jpg.
Promote your new website!
VPS Hosting