Hxxx
Active Member
Hi Folks,
Don't know what step I'm missing this time.
Here is what I've done:
1- Disabled default apache site.
2- Create desired apache site
3- Enabled desired apache site.
4- Restart Apache
Since the above doesn't prevent apache from serving the website when being accessed directly through IP, that is: http://IP I went to:
1- Enabled default apache site
2- Created a different folder
3- Pointed default apache site to a different folder.
4- Restart Apache
http://IP still pointing to the new site folder.
Other than using .htaccess to prevent access from IP, am I missing something?
I can create different sites, to different folders, different servernames and they work perfectly each one serving their own folder. But http://IP still point to the first site conf I created.
Must be missing something here. Apache is 2.4
I'll appreciate the help.
Don't know what step I'm missing this time.
Here is what I've done:
1- Disabled default apache site.
2- Create desired apache site
3- Enabled desired apache site.
4- Restart Apache
Since the above doesn't prevent apache from serving the website when being accessed directly through IP, that is: http://IP I went to:
1- Enabled default apache site
2- Created a different folder
3- Pointed default apache site to a different folder.
4- Restart Apache
http://IP still pointing to the new site folder.
Other than using .htaccess to prevent access from IP, am I missing something?
I can create different sites, to different folders, different servernames and they work perfectly each one serving their own folder. But http://IP still point to the first site conf I created.
Must be missing something here. Apache is 2.4
I'll appreciate the help.