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
Warning: Cannot modify header information - headers already sent by (output started at /home/websitedevait/public_html/wp-includes/functions.php:6131) in /home/websitedevait/public_html/wp-includes/feed-rss2.php on line 8 Email Marketing | Advanced Internet Technologies
https://website-dev.ait.tools
Empowering Your Digital Future with Cutting-Edge Internet SolutionsTue, 07 Jan 2025 15:25:24 +0000en-US
hourly
1 https://wordpress.org/?v=6.9.4https://website-dev.ait.tools/wp-content/uploads/2022/06/aitlogo-1.pngEmail Marketing | Advanced Internet Technologies
https://website-dev.ait.tools
3232How can I change what folder a Linux virtual host is pointed to?
https://website-dev.ait.tools/blog/how-can-i-change-what-folder-a-linux-virtual-host-is-pointed-to-3/
Wed, 27 Sep 2023 15:47:32 +0000https://website-dev.ait.tools/?p=216029Please note that before editing your httpd.conf file, always make a backup.
Log into your site via FTP.
Go to the following directory, `/www/conf`.
Make sure you are in ASCII mode.
Open the httpd.conf file in edit mode.
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
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.
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.
After you save the file, goto the following directory /usr/local/etc/httpd/htdocs
Create the new directory inside htdocs and move all the contents from the old directory to the new one.