HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //etc/apache2/sites-enabled/elitecodeglobal.com.conf
<VirtualHost *:80>
    ServerAdmin [email protected]
    ServerName elitecodeglobal.com
    ServerAlias www.elitecodeglobal.com

    # Document root for the website
    DocumentRoot /var/www/html/elitecodeglobal.com

    # Directory settings
    <Directory /var/www/html/elitecodeglobal.com>
        Options -Indexes +FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    # Log files
    ErrorLog ${APACHE_LOG_DIR}/elitecodeglobal.com_error.log
    CustomLog ${APACHE_LOG_DIR}/elitecodeglobal.com_access.log combined

    # Optional: Redirect from www to non-www or vice versa
    # Uncomment one of the following lines if desired:
    # Redirect www to non-www:
    # RewriteEngine On
    # RewriteCond %{HTTP_HOST} ^www\.elitecodeglobal\.com$ [NC]
    # RewriteRule ^(.*)$ http://elitecodeglobal.com/$1 [L,R=301]

    # Redirect non-www to www:
    # RewriteEngine On
    # RewriteCond %{HTTP_HOST} ^elitecodeglobal\.com$ [NC]
    # RewriteRule ^(.*)$ http://www.elitecodeglobal.com/$1 [L,R=301]
</VirtualHost>