I want to ask for advice. I built a website using Drupal to learn from. However, when I open it with the Edge browser, if the domain name does not contain WWW, an error will appear. Chrome browser can be opened normally with or without WWW.
PHP 7.4.30
MYSQL 5.7.38-41-log
Apache
Drupal 9.4.5
With WWW and Domain names without WWW have already made A records pointing to IP
Error content:
Fatal error: require(): Failed opening required '/home/customer/ www/xxxxxx.com/public_html/vendor/autoload.php' (include_path='.:/usr/local/php74/pear') in /home/customer/www/xxxxxxx.com/public_html/autoload.php on line 16