I have a domain, let's say example.com, I also have configured subdomain dev.example.com.
Now I want to create a new one subdomain sb1.example.com.
I added it to /etc/hosts, created virtual host in /etc/httpd/conf.d with name sb1_example.conf
<VirtualHost *:80> ServerAdmin firstname.lastname@example.org DocumentRoot /opt/www/some_dir/MyWebbApp ServerName sb1.example.com </VirtualHost>
When execute ping sb1.example.com it works and gives me IP address of my server.
But if I try to enter address in the browser it says: "Remote server or file not found"
What am I doing wrong?
EDIT: Resolved it was a problem in hosting provider.