AWS/※에러※ 4

Wordpress 설치 에러: front to the wordpress application. this file doesn't do anything, but loads

문제 발생 이유 php 설치가 안됨 해결 방법 1: php 설치 나의 경우에는 인스턴스 생성 시 php가 설치 차제가 안됐다. 이하 EC2 인스턴스 사용자 데이터(user data) 코드 #! /bin/bash yum install -y httpd amazon-linux-extras enable php7.4 yum install -y php php-cli php-pdo php-fpm php-json php-mysqlnd mariadb wget https://ko.wordpress.org/wordpress-5.7.8-ko_KR.tar.gz tar xvfz wordpress-5.7.8-ko_KR.tar.gz cp -a ./wordpress/* /var/www/html/ chown apache.apache /..

AWS/※에러※ 2023.07.11

AWS CloudFront 502, 504 Error 해결

1. Target Groups 확인 ec2 > Target Groups 에서 Health status가 healthy인지 확인. 만약 unhealthy라면 target group에 등록된 패스에 index.html 파일이 없는 경우이니 파일을 추가한다. cp /usr/share/httpd/noindex/index.html /var/www/html/index.html 2. Load Balancers 확인 DNS주소로 접속해도 안되면 로드밸런서 문제이니 확인. 3. CloudFront 확인 CloudFront의 원본 태그에서 프로토콜이 HTTP만 해당인지 확인. CloudFront의 동작 태그에서 뷰어 프로토콜 정책과 캐시 확인. 4. Route 53 확인 CloudFront를 Route 53 레코드에 추가..

AWS/※에러※ 2023.05.22