Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-expand-tabs-free domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/websitedevait/public_html/wp-includes/functions.php on line 6131
How can I change what folder a Linux virtual host is pointed to? | Advanced Internet Technologies

Please note that before editing your httpd.conf file, always make a backup.

  1. Log into your site via FTP.
  2. Go to the following directory, `/www/conf`.
  3. Make sure you are in ASCII mode.
  4. Open the httpd.conf file in edit mode.
  5. Locate the virtual host entry located near the bottom of the file.Example:ServerName domain.comServerAlias domain.com www.domain.comServerAdmin domain@domain.comDocumentRoot /usr/local/etc/httpd/htdocs/domaincomErrorLog logs/domain.com-error_logTransferLog logs/domain.com-access_log
  6. Locate the line that says “Document Root”.In the example above, the domain name, domain.com, is pointed to the directory called domaincom inside the htdocs directory.
  7. Change domaincom to the folder name that you would like the virtual host to point to and change IPaddress to your server’s IP address.
  8. After you save the file, goto the following directory /usr/local/etc/httpd/htdocs
  9. Create the new directory inside htdocs and move all the contents from the old directory to the new one.