How to configure apache on aws Web Server?

I am facing problem in configuring apache on my AWS web server,

I have installed httpd on it and also set it in running mode

But still when i am trying to access website, it is showing error , "website may be down or under maintenance " here expected result is

it should open default message "It works" after successful installation

Can anyone tell me where i am wrong?

Operating system :- Red Hat Linux 64 bit

Replies

  • Rupam Das
    Rupam Das
    If you are using a CMS like drupal or joomla or wordpress, they have an option called maintenance mode. Check if that is active or set true. This problem is not of server, but the configuration. Alternatively you can also check .htaccess file to see if there is a redirection enabled.
    Regards
  • Manish Goyal
    Manish Goyal
    No I am not using any cms , i am just trying to configure apache on my server, but don't know why it is not working

    Did you ever installed then apache on server manually?

    it is exactly like you install xampp on windows and it shows you "It works" message on browser, when you type localhost on address bar
  • Rupam Das
    Rupam Das
    Yes I have! Could there be any other process running on port 80? Have you checked the port address in Apache? It looks a typical problem!
  • Manish Goyal
    Manish Goyal
    yeah, i have checked it , it is listening on Port 80
  • Manish Goyal
    Manish Goyal
    Let me clear , how did i install it

    I had run following commands after login through putty

    yum install httpd

    yum instal httpd-devel

    then run cmd :- /etc/init.d/httpd start

    and its shows httpds - start

    Did i missed something?
  • Rupam Das
    Rupam Das
    Have you installed in sudo mode?

    I mean by default you are logged in as super user?

    BTW, if apache is listening to port 80, that means the process is running.
    #-Link-Snipped-#

    which page it is opening in browser? like index.php/index.htm? Why not make a simple html and copy it in apache's public-html and invoke that?

    #-Link-Snipped-#

    if it opens than should be fine!
  • Manish Goyal
    Manish Goyal
    Yeah i have created that file too, but no use, i am just not able to figure out what i am missing here
    Can you tell me what steps will you follow to install apache on server?

    All you have is fresh server, with just server access and one external IP + internal IP
  • Manish Goyal
    Manish Goyal
    Ok guys

    Issue fixed, the problem was very common,

    I had to add exception in linux server to enable it to listen on port 80 😀

You are reading an archived discussion.

Related Posts

Today i was working on some project and i was facing this issue of getting data from multiple tables The problem was, I have a static function where a certain...
I am totally confused about future because of after b.tech i joined an IT Company in Jaipur in SEO Executive but salary matters for me and before this company i...
Hey CEians, I need some help here as I'm still a student exploring the mighty worlds of engineering, so please feel free to suggest/comment/criticize. I have had a plan in...
Shirt capable of converting body heat into electricity | News | The Engineer
Hovering robot uses cameras to navigate through buildings | News | The Engineer