PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Oct 21, 2017 12:44 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Jul 16, 2015 12:12 am 
Offline
Forum Contributor
User avatar

Joined: Wed May 14, 2014 12:18 pm
Posts: 331
I need to configure my Amazon apache AWS , now i have a small problem, in my apache2.config file , i have the following settings:

Syntax: [ Download ] [ Hide ]
        <VirtualHost *:80>
        DocumentRoot /var/www/html/school
        ServerName lala.com
        </VirtualHost>


now when i navigate to

Syntax: [ Download ] [ Hide ]
    www.lala.com


I am rediected to the correct page , but when i type in

Syntax: [ Download ] [ Hide ]
    lala.com


i am sent to the 404 error page , so my question is what settings do i need to change in my apache config file for me to reach the correct URL even when i type in:

Syntax: [ Download ] [ Hide ]
    lala.com
 

i should be redirected to the correct url.


Thank you.

Gautam.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group