Is there a way to preview the site/app?

November 2, 2014 965 views

Is there a way to preview the site/application without pointing an actual domain? For instance [ptr] or [ptr].[IP Address].com or something similar?

1 Answer

You can simply browse to your droplet's IP address:

  • Yeah but I have to do some authentication. Which I found in this article/tutorial in the comments talking about having to ssh into the WordPress application to get the login credentials. Wasn't ever able to successfully ssh into it though so now I'm trying to figure that out.

  • Connect to your droplet via SSH.
    If you are using Mac OS X open and write ssh root@YOURSERVERIP and press enter, you will be asked for password. If you are using windows i would recommend you to download PuTTy. In PuTTy write in hostname your droplet's ip and then you will be asked for username (root) and for password.
    The password is the one you got in an email sended from DO when you created the droplet.
    Next to this you are now logged in to the Droplet via SSH and you can move to the wordpress folder and access the .htaccess and WORDPRESS file.

    Hope it helps :)

Have another answer? Share your knowledge.