Use my vps IP as temp URL for my sites.

Hello,

I'm new in the forum and new to linode and linux so I apologize if this is the wrong category for my post. I would like to test my websites before pointing my domain, so I would like to use my vps ip to see my website running. Is that possible and how can I do it?

Thanks.

3 Replies

@cmatos:

Hello,

I'm new in the forum and new to linode and linux so I apologize if this is the wrong category for my post. I would like to test my websites before pointing my domain, so I would like to use my vps ip to see my website running. Is that possible and how can I do it?

Thanks.

What happens if you point your browser at your Linode IP (and URL path)?

Hello,

You want to look into modifying your local computer's /etc/hosts file (there is also a Windows equivalent). It does exactly what you're asking.

Hope that helps,

-Chris

@caker:

Hello,

You want to look into modifying your local computer's /etc/hosts file (there is also a Windows equivalent). It does exactly what you're asking.

Hope that helps,

-Chris

This fixed my problem. Thanks

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct