In order to stuy about virtualHost, I found the following.
Although I am not using wordpress, the url above is good for vertualHost.
I try to follow the above and I almost follow most of them.
However, on the last part of the url above, I failed in saving the file "C:/Windows/System32/drivers/etc/hosts" after I modified it.
When I try to save it, it says like the following.
C:/Window/System32/drivers/etc/hosts
이 파일을 열 수 있는 권한이 없습니다.
사용 권한에 대해서는 파일의 소유자나 관리자에게 문의하십시오.
The following is the translation of the above in English by myself.
C:/Window/System32/drivers/etc/hosts
You don't have the authorities for opening this file.
You should ask to the owner of the file or administator about authorities of using it
Why is it NOT savable?
How can I save the file?
if I enter "localhost" in the address bar of my browser, it says the following at the moment.
Forbidden
You don't have permission to access this resource.
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0 Server at localhost Port 80
How can I make the index.php readible when I open the page by entering "localhost" in the address bar of my browser?