I need to host a website on AWS EC2 micro with Ubuntu and NGINX. So I get free domain name with dot.tk and mapped ElasticIP of my server with it (used dig utility to check if it pointed to my ip). Then I changed nginx.conf on server and added these standard rows into http section:
server {
listen 80;
server_name mydomain.ml;
root /data/www;
location / {
index index.html;
}
}
But if I write my address in browser it does not show me something.
What I need to do else?