I am a beginner with WordPress and I have no idea what hostname I should specify when I try to install a theme. Thank you for a help! enter image description here


Wordpress asks for an FTP account there. So you have to enter the data for the FTP account. You will get that data from your provider. Mostly you have entered it already to your FTP client.

  • I am getting a hostname by typing into terminal "hostname" and it gives me some hostname. But it does not work for WordPress. How would I get FTP hostname from Amazon Web Services? – PashliNahuy Jun 22 '14 at 21:36
  • How did you upload und install wordpress on your server? – Christoph Daum Jun 23 '14 at 4:42

This happens when Wordpress cannot directly (via php) create files inside the wp-content directory.

Wordpress asks for FTP credentials to try and upload "manually" the files, you should provide the hostname of the ftp server (example: ftp.yourdomain.com), username and password. Of course you have to have an FTP server set up, which is usually straightforward on an shared hosting. If you are inside a self-hosted environment (i.e. VPS, AWS ec2 instance) you should solve this at the root of the problem:

To solve this you have to set as 755 the permissions to wp-content ( sudo chmod -R 755 /you/html/root/wp-content) and make sure that the owner of the directory is the user as whom apache/nginx/php-fpm runs with the ls -l command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.