- 최신
- 최다 투표
- 가장 많은 댓글
you can use the public IP address of your Lightsail instance along with the appropriate path to each WordPress installation.
Check Web Server Configuration: Ensure that your web server (most likely Apache or Nginx) is configured to serve the Wordpress installations from the /sites directory. This involves setting up virtual hosts or server blocks for each Wordpress instance.
Check Wordpress Configuration: Ensure that the Wordpress installations are correctly set up in their respective directories (/sites/wp1, /sites/wp2, etc.). You may need to adjust Wordpress's configuration to reflect the correct URL paths.
Access via IP and Directory Path: Try accessing the Wordpress instances using the public IP address followed by the directory path. For example, if your Lightsail instance's IP address is X.X.X.X, and Wordpress is installed in /sites/wp1, you would try accessing http://X.X.X.X/wp1.
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
The wp files are set up in /sites correctly - when I add a S53 hosted zone and change the dns records to the new location, they display the blank wp site. Using the public IP and path doesn't work.
For the subdomains, I think that I haven't set up the server blocks correctly. I followed the instructions here, but this didn't work either: https://stackoverflow.com/questions/20100869/configure-nginx-with-a-subdomain
Thanks again for all the help!