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
- Login to your Hostinger account: Go to the Hostinger website and log in using your credentials.
- 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.
- 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.
- Click on the "Edit" button: Next to the record, you'll find an "Edit" button. Click on it to open the editing interface.
- 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.
- Save the changes: After making the modifications, click on the "Save" button to apply the updated record.
2. Updating Website Files
- Access your website files: You can update website files through the Hostinger File Manager, an FTP client, or directly through an SSH connection.
- Locate the file you want to update: Navigate to the directory containing the file you want to modify.
- Edit the file: Open the file using a text editor or a suitable code editor and make your changes.
- 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
- Access your database: You can use a database management tool like phpMyAdmin, which is usually accessible from your Hostinger control panel.
- Select the database and table: Choose the database and table containing the record you want to update.
- Run a SQL query: Use a SQL query to modify the record's data. The query will depend on the specific database structure.
- 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.