I have no experience in about Apache and want to set up
Apache Virtual Hosts on Ubuntu 14.04 LTS for a local site on my
local machine. I followed this page. But when I try to test
http://example.com I got this result in browser:
Example Domain This domain is established to be used for illustrative examples in documents. You may use this domain in examples without prior coordination or asking for permission. More information...
And I expected to get
Success! The example.com virtual host is working! as result (as described in followed tutorial).
In that tutorial, I did not understand:
For the domains that I used in this guide, assuming that my VPS IP address is 220.127.116.11, I could add the following lines to the bottom of my hosts file
So I used
/etc/hosts and I guess problem is in about that, but I searched in google and did not find any thing about how to get
VPS IP address to use that. Now how I can get that address or I make mistake and I have to set an address and then use it? In second case how can I do that?