Is there a way to preview the site/app?

Posted November 2, 2014 2.9k 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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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 :)