What is the issue with below script?
I cannot access the site and shows me "This site can’t be reached" error

```
 #!/bin/bash
# Use this for your user data (script from top to bottom)
# install httpd (Linux 2 version)
yum update -y
yum install -y httpd.service
systemctl start httpd.service
systemctl enable httpd
echo "<h1>Hello World from $(hostname -f)</h1>" > /var/www/html/index.html

```