AWS를 이용하여 amazon linux 2가 설치된 서버에서 서브도메인을 설정해야한다면,아래 경로의 파일을 수정하면 된다. /etc/httpd/conf.d/vhost.conf대략 이러한 설정을 한 뒤sudo systemctl restart httpd위 명령어를 통해