You shouldn't have that example.com. Maybe you just pasted the setup command which has example.com as placeholder.
Not knowing what you have done so far it may be easier to start fresh. Is this a droplet on digital ocean?
All you should have to do is
wget -qO ee rt.cx/ee && sudo bash ee
Then copy and paste the command to add ee commands to your path. ee will remind you to do it after it installs itself. Do all of this as your normal user not root.
You can further setup ee defaults like default username/password/email in
sudo nano /etc/ee/ee.conf
Though not required it will make life easier when installing new sites.
Then I would do
sudo ee stack install --web
followed by.
sudo ee site create NAMEOFYOURDOMAIN.com --wp --wpredis --php7
Once you get into Wordpress enable redis plugin and make sure nginx-helper plugin is enabled(it should be)
After that I usually
So that I can use Atom editor or Sublime as www-data.
Now you do not have to use redis or php7 and it may not be best for someone new to ee to worry about flushing the cache if you edit php files but that configuration works best for me.
Hope I helped a little
edit: I bet if you change the hosts file on your local machine and point example.com to your server you have on hell of a nice install of wordpress running Just sudo ee site delete example.com