Home Website Functionality

Website Functionality

By Kamelia H.
10 articles

How to manage zone records in cPanel

In this article we will cover: What are zone records How to add zone records How to edit zone records How to delete zone records What are zone records? Zone records (such as A, MX, CNAME, TXT etc.) are the records that connect your domain to your online services. For example, the A (Address) record connects your domain to your website and the MX (Mail Exchange) record connects your domain to your emails. Zone records are necessary for these online services to work. How to add zone records 1. In the cPanel main menu click Zone Editor 2022-03-26_17-19-13 highlighted.png 1. To the right of the domain click Manage 2. Click + Add Record add record highlighted.png 1. Under Type click the drop-down menu and click the type of record you want to add (A, AAAA, CAA, CNAME, MX, SRV, TXT) 2022-03-26_17-17-45.png 1. Type in the value under Name and Record - unless you are told otherwise, you can leave the TTL as 14400 1. If successful a green box will appear in the top right-hand corner of the screen saying Success: You successfully saved the following [record type] record for [yourdomainname.com]: [record Name] How to edit zone records 1. In the cPanel main menu click Zone Editor 2. To the right of the domain click Manage 3. Find the record you want to edit and click Edit edit highlighted.png 1. Change the values as needed and click Save Record 2. If successful a green box will appear in the top right-hand corner of the screen saying Success: You successfully saved the following [record type] record for [yourdomainname.com]: [record Name] How to delete zone records 1. In the cPanel main menu click Zone Editor 2. To the right of the domain click Manage 3. Find the record you want to delete and click Delete delete highlighted.png 1. The Confirm Deletion menu will appear, click Continue 2. If successful a green box will appear in the top right-hand corner of the screen saying Success: You successfully deleted the [record type] record: [record Name].

Last updated on Dec 18, 2024

Connect your domain to cPanel

Your domain needs to be connected to your cPanel much like a house needs to be connected to its address. Otherwise, your mail won't arrive and people won't know where to visit you. There are two options to connect your domain to cPanel: 1. Point your domain’s A records to your cPanel IP address - After the records have been created/edited it can take up to 4 hours for them to take effect 1. Point your domain’s Name Servers to cPanel Point your domain's A Records to your cPanel IP address 1. Log in to your account with your DNS Host (this is usually the company you bought your domain from) 2. Click on the menu where you manage your domain’s zone records (this is sometimes called DNS Manager or Zone Manager) 3. Edit your two A records (or create them if they do not exist) to point to your cPanel IP address - You will find your cPanel IP address in the cPanel main menu on the right side of the screen under Shared IP Address. Shared IP address.png - You will need to edit two A records, your root domain A record (which is just your domain name e.g. letsgowebcentral.com.au) and your www subdomain (which is your domain name with www at the beginning e.g. www.letsgowebcentral.com.au). This is because when your customers search your domain, whether they write letsgowebcentral.com or www.letsgowebcentral.com, it will load the same website. 1. After you have created or edited the two records (and uploaded your website files and/or database) your website will be online within 4 hours Point your domain's Name Servers to cPanel 1. Log in to your account with your Domain Host (this is the company you registered your domain with) 2. Click on the menu where you manage your domain’s Name Servers (this is sometimes called DNS Manager, Manage DNS, or Domain Delegation) 3. Replace your Name Servers with the required name servers for your cPanel service. 4. Your Name Servers may take up to 48 hours to change - If you have already uploaded your website files, your website will be online when the Name Servers have finished changing If you choose to point your Name Servers to cPanel you will need to add your other zone records to cPanel to ensure your online services (e.g. emails) continue to work.

Last updated on Dec 18, 2024

Create/upload your database in cPanel

If your website needs a database, you will need to create one in cPanel, upload your database file to it and then connect it to your website. When you create your database and user, please remember the database name, username, and password as this will be used when connecting the database to your website. Create a database and user 1. In the cPanel main menu click MySQL Database Wizard MySQL Database Wizard highlighted.png 1. Under Step 1: Create A Database, type in a database name and click Next Step 2. Under Step 2: Create Database Users, type in a username and password and click Create User 3. Under Step 3: Add user to the database, tick the privileges you want to give the user - You can tick ALL PRIVILEGES to have full control over the database 1. Under Step 4: Complete the Task,click Return Home 2. You have now created a database and user Upload your database 1. If you already have a database and want to transfer it to your cPanel, download your database from your current website host onto your computer 2. In the cPanel main menu click phpMyAdmin PHPMyAdmin.png 1. On the left-hand side of the screen click on the database you just created 2. Click Import Import.png 1. Under File to import click Choose file 2. Select the database file from your computer and click Open 3. Click Go 4. A green box and tick will appear saying Import has been successfully finished, [number] queries executed. (filename) Connect your database If you have imported your database you will need to connect it to your website. 1. In the cPanel main menuclick File Manager 2. On the left-hand side of the screen, click the public_html folder 3. Right-click (command-click for Mac) the configuration file and click Edit (your configuration file may look different to the below. The below is a WordPress website) Edit Config File Highlighted.png 1. The Edit menu will appear, click Edit 2. Where you see your current database name, username and password delete it and write your new database name, username, and password (the one you just created in cPanel) Config highlighted.png 1. Click Save Changes 2. Click Close 3. Your database is now connected to your website

Last updated on Dec 18, 2024

Uploading website files to cPanel

How to upload website files to cPanel 1. In the cPanel main menu click File Manager - If you already have a website and want to transfer it to your cPanel, make sure you have your website files downloaded on your computer first. File Manager highlighted.png 1. On the left-hand side of the screen, click the public_html folder 2. Click Upload Upload 2 highlighted.png 1. Drag and drop your website files into the rectangle that says Drop files here to start uploading or click Select File and select your files from your computer and click Open - If you are uploading many files, it is recommended to compress your website files into a ZIP folder and upload the Zip folder or use FTP (File Transfer Protocol) to upload your website files. 1. When the files have finished uploading click Go back to “/home/yourcPanelusername/public_html” 2. If you uploaded a ZIP file, in the public_html folder right-click (command-click for Mac) the ZIP file and click Extract Extract (2).png 1. The Extract menu will appear, click Extract Files 2. After the file is extracted, you will be shown the Extraction Results, click Close 3. Your files are now in the public_html folder. You can delete the ZIP file by right-clicking (command-click for Mac) the file and clicking Delete Now that you've uploaded your website files, check out our other helpful support articles: - Connect your domain to cPanel - Create a database and connect it to your website - File Transfer Protocol (FTP) - Manage your zone records

Last updated on Dec 18, 2024

WordPress : Error establishing database connection

If you’ve uploaded WordPress onto your hosting account and its getting the below error . Error establishing database connection Error establishing database connection It might be that your Database credentials are incorrect in the wp-config.php file. To fix this problem, follow the instructions below: - FTP connect to your hosting account using your account FTP details , Or you can login to cPanel and access the File Manager. - Open the wp-config.php file (located in the webroot folder, in cPanel it would be the public_html folder) - Make sure your database name, username, password and hostname are correct (you can find instructions below depending on your hosting) - Find the database string below in the wp-config.php file and replace the relevant credentials with the correct information. PHP // ** Database settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define( 'DB_NAME', 'your-databas-ename' ); /** Database username */ define( 'DB_USER', 'your-datbase-username' ); /** Database password */ define( 'DB_PASSWORD', 'your-database-password' ); /** Database hostname */ define( 'DB_HOST', 'localhost' ); /** Database charset to use in creating database tables. */ define( 'DB_CHARSET', 'utf8' ); /** The database collate type. Don't change this if in doubt. */ define( 'DB_COLLATE', '' ); - Re-upload the edited wp-config.php file Cloud Hosting : Database credentials To find your database name, hostname, username and password: 1. Log into the Console 2. Click the domain you want to manage 3. Click Database and you will see your database under the Current Databases heading 4. Click View under Credentials 5. In the pop up you'll find log in information and your hostname cPanel Hosting : Database credentials 1. Log into the Console 2. Click the domain you want to manage 3. Click cPanel Hosting 4. Under hosting settings, click Log into cPanel interface 5. Under the Databases section click MySQL Databases 6. On this page you’ll find the database name 7. Scroll down to Current Users and your will find the database user which will connect to the database 8. In the Current Users section you can reset your database user password For cPanel users the hostname is always localhost Success! You’ve done the steps for this article. If you’re unable to follow these steps, or receive an error in doing so, please submit a support request through your console or call us on 1300 638 734 for further assistance.

Last updated on Dec 18, 2024

WordPress FAQ

What is WordPress? WordPress is an open source application used to easily build websites. It has loads of features, including a plug-in architecture and template system, and is one of the most widely used Content Management and Blogging application used today. How do I install WordPress? WordPress can be downloaded at wordpress.org and installed manually or installed by using one of our application installers. How can I log into WordPress? Depending on the directory you install WordPress into, the path to the login page is typically http://www.your-domain.tld/wp-login.php or http://www.your-domain.tld/sub-directory/wp-login.php I've forgotten my WordPress password. How can I reset it? On the WordPress login page, there is a Lost your password? link. If you've forgotten your password, we recommend you click on that link and follow the steps provided. If this isn't helpful, we recommend reading through the resetting your password article published by WordPress. Can you teach me how to use WordPress? Unfortunately, we don't have the resources to train our customers in how to use this software. WordPress is an open source and free application that runs on our servers but is not developed or supported by us. For assistance with how to use WordPress, we recommend visiting these links: - http://codex.wordpress.org/Main%5FPage - http://wordpress.org/support/ I'm having a problem with the Akismet plugin for WordPress, can you help me fix it? Due to the nature of our Cloud Hosting infrastructure, the Akismet plugin for WordPress sometimes has difficultly making an outside connection. If you are encountering this problem, please read through our Firewall problem with Akismet plugin for WordPress article for assistance. My WordPress website keeps getting hacked. How can I stop this? WordPress is one of the most popular open source software packages used by website owners globally. It’s $0 price tag drives the success of this application among the internet community, however it’s Open Source nature additionally drives a huge community of Hackers to exploit the software by finding vulnerabilities in the code of the application. Please read through our WordPress security tips article for assistance on how to secure your WordPress installation. How do I move a WordPress installation to another directory or server? Instructions on how to migrate WordPress from one directory or server to another are available directly from WordPress in their Moving WordPress support article. If you don't feel comfortable migrating your WordPress website yourself, contact our staff for a quote, we can move your blog between directories or from external servers to ours. A professional service fee will apply as this type of service falls outside the scope of our free support. Email support with your one off code, details about where you want the website migrated from and to and also a request for a quote for this service. A staff member will review your request and provide you a quote for the work via email. How do I enable search engine friendly URLs in WordPress? WordPress users can manage the URL structure of their pages via the Settings > Permalinks menu. Further information regarding optimising WordPress for search engines is available within the WordPress codex. How do I uninstall WordPress? To uninstall WordPress, you need to connect to your WordPress site using a FTP client or File Manager in cPanel. Then you need to delete all WordPress files.

Last updated on Dec 18, 2024

Common website errors

There are several numbered website errors, from the well known error 404 (not found) to error 500 (internal server error). But what do these numbers mean and how can you fix them? Below we had outlined some of the most common website error numbers from Linx servers that you might see and what they mean. HTTP error 401 (unauthorized) A 401 appears when a visitor tries to access a restricted web page that they are not authorised to view. HTTP error 400 (bad request) A 400 error is the web server telling you that the application you’re using (your web browser, etc) has accessed the website incorrectly or the request has somehow been corrupted. HTTP error 403 (forbidden) Similar to the 401 but in this case, no login opportunity is available. For example: if you’ve tried to access a forbidden directory on a website. HTTP error 404 (not found) A 404 appears when you try to access a web page that doesn’t exist. This might be because of a broken link, a mistyped URL or that the website owner has moved the page you’re looking for to another place or deleted it. You can avoid these by putting re-directs on webpages you change the URL for or delete. HTTP error 500 (internal server error) This error is mostly self explanatory, it appears when a web server encounters an internal error, such as when the serve is overloaded and is unable to handle requests properly. Or the website coding contains a error. If the server displays this type of error, you should look for indication on what file is causing the error by investigating the error_log HTTP error 503 (internal server error) This appears when the website that is hosted on cPanel exceeds the allowed resources. You can read more about this error here.

Last updated on Dec 18, 2024