Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (12.9k points)

I'm hosting a wordpress site on ec2 and I'm trying to update my theme through the admin screen. Its asking me for Hostname and ftp username and password. Is ec2-xxx.compute-1.amazonaws.com:22 my hostname? I tried along with ec2user and root for my ftp username but no luck. What am I doing wrong?

1 Answer

0 votes
by (18.2k points)

Your hostname will be the Public DNS of your instance. it looks something like:

ec2-107-20-192-98.compute-1.amazonaws.com

Your user name will be:

  • for ubuntu instance: ubuntu
  • for Amazon Linux instance and the majority of the other instances: ec2-user
  • for instances where ec2-user and ubuntu don't work: root

As for the password, you will have to set one using passwd command.

Related questions

0 votes
1 answer
asked Jul 12, 2019 in AWS by yuvraj (19.1k points)

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
asked Jul 31, 2019 in AWS by yuvraj (19.1k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...