Hi
Make an entry in /etc/hosts
192.168.1.184 [Machine IP address]   mozwp.leosysserver.net   www.
mozwp.leosysserver.net

then edit apache config file. look for yours apache config file or virtual
host config file.

vi /etc/httpd/conf/httpd.conf

<VirtualHost 192.168.1.184>
ServerName mozwp.leosysserver.net
ServerAlias www.mozwp.leosysserver.net
ServerAdmin webmas...@mailserve.net
DocumentRoot /web/mozwp.leosysserver.net/htdocs
ErrorLog /var/log/httpd/error_log
TransferLog /var/log/httpd/access_log
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php .phtml
    AddType application/x-httpd-php .html
    AddType application/x-httpd-php .htm
    AddType application/x-httpd-php .inc
    AddType application/x-httpd-php .htx
    Options ExecCGI FollowSymLinks Includes
    DirectoryIndex index.phtml index.htm index.html index.php3 index.php
</VirtualHost>



On 26 December 2011 15:24, Reetika786 <reeti...@leosys.in> wrote:

>
> Hi
>
> I need to ask few more things see i dont have domain hosted and i want to
> see my site as mozwp.leosysserver.net and domain leosysserver.net is not
> hosted anywhere its my linux  server name/machine name . How do I configure
> my virtual host  to see my webpages  using this URL
> mozwp.leosysserver.net.Please suggest me. I am new bie just started
> learning
> apache.
>
>
> Reetika786 wrote:
> >
> > Hi
> >  I have configured virtual host but suddenly when its started asking for
> > authentication asking for username /pwd/ but ..Allowoveride optio is none
> > and i didnt config any authentication ..Please suggest me what to do
> >
>
> --
> View this message in context:
> http://old.nabble.com/Configured-New-virtualhost-asked-for-authentication-entication-tp33032205p33037571.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to