Codex and Claude Code can help you build a new website, modify existing files, identify errors, and prepare changes for publication.
The connection method depends on the type of hosting:
- for shared web hosting, use a local copy of the website and a dedicated FTP account;
- for a VPS or dedicated server, you can use a dedicated SSH account and a separate SSH key.
Do not enter FTP or SSH passwords, private keys, or other access credentials into a regular conversation with an AI assistant.
Connecting a website on shared hosting
For shared hosting, we recommend that Codex or Claude work on a local copy of the website. Files are transferred between your computer and the hosting account using FileZilla Client.
1. Create a backup
Before you begin, create a backup of the website files and database.
Create a separate folder on your computer for working with the AI tool, for example:
My-Website-AI
2. Create a dedicated FTP account
In your hosting control panel, open:
- cPanel → FTP Accounts, or
- DirectAdmin → FTP Management.
Create a new FTP account and restrict it to the folder of the website you want to modify. Do not use the main hosting account unless necessary.
You will need:
- the FTP server hostname;
- the port;
- the full FTP username;
- the password for the dedicated account;
- the exact website folder.
If you do not know the correct server or folder, contact AdriaHost Support and provide your domain name.
3. Download the website using FileZilla
In FileZilla, open:
File → Site Manager → New site
Enter the credentials for the dedicated FTP account. When available, use:
- Protocol: FTP – File Transfer Protocol;
- Encryption: Require explicit FTP over TLS;
- Logon Type: Normal.
After connecting:
- the left side of the FileZilla window represents your computer;
- the right side represents your hosting account.
On your computer, open the My-Website-AI folder. On the hosting account, open the confirmed website folder. Download the website files to the local folder.
4. Open the local copy in Codex or Claude Code
In Codex, select Add project or Open folder and open the My-Website-AI folder.
In Claude Code, open the same local folder as a project.
Example of an initial request:
Work only on this local copy of the website.
First, review the files and prepare a plan for the change. I want to change:
[describe the required change]
Preserve the existing URLs and SEO data. Show me the result first, and do not publish any changes to the hosting account yourself.
5. Review and publish the changes
Review the prepared changes before publishing them. Check at least:
- text and contact details;
- links;
- images;
- forms;
- the website’s appearance on mobile devices and computers.
Once you have approved the changes, use FileZilla to upload only the modified files to the corresponding folder on the hosting account.
Do not overwrite the entire existing website without first reviewing the changes and confirming that you have a usable backup.
Important: WordPress content, menus, users, settings, and some configuration data are stored in the database. FTP access allows you to work with files, but it does not provide access to the WordPress database or administration area.
Connecting a VPS or dedicated server
You can use SSH to connect to a VPS or dedicated server, provided that SSH access and a suitable user account have been enabled.
Before connecting, prepare:
- the server hostname or address;
- the SSH port;
- a dedicated username;
- the project folder;
- the server’s verified SSH fingerprint.
We recommend using a separate SSH key created specifically for this connection. Send only the public key—the file with the .pub extension—to Support or your server administrator.
The private key must remain on your computer and must not be sent through a support ticket, email, or AI conversation.
Detailed illustrated instructions for creating a key, configuring the SSH connection, verifying the fingerprint, and revoking access are available here:
Connect AI to your email, website, or server
When you have finished
Once the work is complete:
- delete the dedicated FTP account if it is no longer needed;
- for server access, remove the specific public SSH key that was added;
- remove any unnecessary connections from Codex or Claude;
- save the approved version and verify that the website works correctly;
- keep the backup until you have confirmed that the changes are correct.
Do not delete the main hosting account, other SSH keys, or the entire authorized_keys file.
Security recommendations
- Use a dedicated account with the minimum required permissions.
- Do not enter passwords or private keys into an AI conversation.
- Do not store access credentials inside the project folder.
- Create a backup before every significant change.
- Request a review and a plan first, and then approve the specific change.
- Verify the result before publishing it.
- Revoke dedicated access when it is no longer required.
Codex and Claude are not AdriaHost services and are not included in the hosting price. Available features depend on the selected AI tool, application version, hosting plan, and granted access permissions.
For the complete illustrated guide, see:





