A2oz

How Do I Update a Record in Hostinger?

Published in Web Hosting 3 mins read

Updating a record in Hostinger depends on the type of record you want to modify. Here's a breakdown of the most common scenarios:

1. Updating DNS Records

  1. Login to your Hostinger account: Go to the Hostinger website and log in using your credentials.
  2. Navigate to the DNS Manager: Once logged in, locate and click on the "DNS Manager" section. This is usually found under the "Hosting" or "Domains" tab.
  3. Find the record you want to update: You'll see a list of your DNS records. Identify the specific record you need to update by its type (e.g., A, CNAME, MX) and the associated domain name.
  4. Click on the "Edit" button: Next to the record, you'll find an "Edit" button. Click on it to open the editing interface.
  5. Modify the record information: You can now edit the values associated with the record, such as the IP address for an A record or the hostname for a CNAME record.
  6. Save the changes: After making the modifications, click on the "Save" button to apply the updated record.

2. Updating Website Files

  1. Access your website files: You can update website files through the Hostinger File Manager, an FTP client, or directly through an SSH connection.
  2. Locate the file you want to update: Navigate to the directory containing the file you want to modify.
  3. Edit the file: Open the file using a text editor or a suitable code editor and make your changes.
  4. Save the changes: After updating the file, save it back to the server using the same method you used to access it.

3. Updating Database Records

  1. Access your database: You can use a database management tool like phpMyAdmin, which is usually accessible from your Hostinger control panel.
  2. Select the database and table: Choose the database and table containing the record you want to update.
  3. Run a SQL query: Use a SQL query to modify the record's data. The query will depend on the specific database structure.
  4. Save the changes: After executing the query, the changes will be applied to the database.

Example:

Let's say you want to update the IP address associated with your domain's A record. You would follow these steps:

  • Login to your Hostinger account.
  • Go to the DNS Manager.
  • Find the A record for your domain.
  • Click on the "Edit" button.
  • Change the IP address to the desired value.
  • Click on the "Save" button.

Remember that changes to DNS records can take some time to propagate across the internet.

Related Articles