http://forums.linuxnix.com is activate for Public

0 comments

Hi all,

I am very much pleased to announce Christmas/New year gift for you people. We just started our new Linux/Unix forums to resolve our issues which we are facing on day to day basis at work as well as home. Please join hands with us to help others who are in need.

The forums can be accessed at http://forums.linuxnix.com
The forums are free to all
The forums does not require to register but we suggest you to register and post questions.

As a www.linuxnix.com admin I am very much awaited to see all you there discussing on various issues faced by you in Linux/Unix which will benefit us all.

Thanks,
Admin
http://www.linuxnix.com

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Facing Issue With Blogger. Posts On Apache Will Be Delayed

    0 comments

    Hi all,

    We are facing issues with posting apache posts on linuxnix.com. This is because the apache code is messing up with html rendring of blogger. So we are not able to post Virtulhost codes in the site. We will come up with a solution to resolve this issue. Mean time we are continuing with other posts. We will let you people know when we will start the apache posting once again.

    Thanks,
    Admin
    http://www.linuxnix.com

  • Like the post? Please Subscribe to free RSS feed to get updates
  • How To Access Web Server Through IP Address?

    0 comments

    How to access web server through ip address(not the default site)?

    Step1 : check for the package installed or not

    #rpm -qa | grep httpd

    Step2 : Install the package

    #yum install httpd

    Step3 : Create the root web directory and a test index.html for this testing.

    I want to create my web directory in /ipbasehost

    #mkdir /ipbasehost

    Now create index.html and try to write something in to that file then save the file.

    #vi /ipbasehost/index.html

    save and exit the file.

    Step4 : Now edit the httpd.config file

    #vi /etc/httpd/conf/httpd.conf

    Go to last line and write the below content

    DocumentRoot /ipbasehost/
    DirectoryIndex index.html

    Save the file and exit.

    Let me explain above four lines

    => This indicates we are creating a virtualhost who's IP addresse is 192.168.0.1

    DocumentRoot /ipbasehost/ => This indicates where is my document root i.e., all my web content should be placed under /ipbasehost/ So this content will be published through website.

    DirectoryIndex index.html => This indicates what is the default file to be open when this site is accessed. So when you type ip address(here its 192.168.0.1) in browser it will present with
    index.html content.

    =>This is to specify the end of that virtual host.

    Now save the file and exit.

    Step5 : Check for the syntax errors in the httpd.conf file before restarting the apache service.

    #httpd -t

    Or

    #httpd -k graceful

    Step6 : Now start the service and then add it to booting scripts so that it will start automatically at every boot of the system

    #service httpd restart

    #chkconfig httpd on

    Step7 : Now check the site using 192.168.0.1 ip address in your browser.

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here