configure server and create website without any control panel

Posted by Emad Ahmed on Server Fault See other posts from Server Fault or by Emad Ahmed
Published on 2012-03-29T16:32:54Z Indexed on 2012/03/29 17:33 UTC
Read the original article Hit count: 334

Filed under:

i am trying to configure my new server without cpanel

i've installed php/mysql/apache

And it's now working fine

if you visit the server ip

http://46.166.129.101/

you'll see the welcome page

i've configured my dns too

my nameserverips file

[root@server]# cat /etc/nameserverips
46.166.129.101=ns1.isellsoftwares.com
46.166.129.101=ns2.isellsoftwares.com

if you visit this link http://ns1.isellsoftwares.com

you'll see the welcome page too!!

but if you visit isellsoftwares.com

you'll see ( 'Firefox can't find the server at www.isellsoftwares.com.' )

Now my question is: How to create an account for this domain on the server??

i've tryied to add virtualHost tag in apache

<VirtualHost *:80>
    ServerAdmin [email protected]
    ServerAlias www.isellsoftwares.com
    DocumentRoot /var/www/html/issoft
    ServerName isellsoftwares.com
    ErrorLog logs/dummy-host.example.com-error_log
    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

it still not working ...

i've added named file for this domain (( isellsoftwares.com.db ))

; Zone file for isellsoftwares.com
$TTL 14400
isellsoftwares.com.     86400   IN      SOA     ns1.isellsoftwares.com. elsolgan.yahoo.com.     (
                                                2012031500 ;Serial Number
                                                86400 ;refresh
                                                7200 ;retry
                                                3600000 ;expire
                                                86400 ;minimum
        )
isellsoftwares.com.     86400   IN      NS      ns1.isellsoftwares.com.
isellsoftwares.com.     86400   IN      NS      ns2.isellsoftwares.com.
isellsoftwares.com.     14400   IN      A       46.166.129.101
localhost       14400   IN      A       127.0.0.1
isellsoftwares.com.     14400   IN      MX      0       isellsoftwares.com.
mail    14400   IN      A       46.166.129.101
www     14400   IN      CNAME   isellsoftwares.com.
ftp     14400   IN      A       46.166.129.101
cpanel  14400   IN      A       46.166.129.101
whm     14400   IN      A       46.166.129.101
webmail 14400   IN      A       46.166.129.101
webdisk 14400   IN      A       46.166.129.101
ns1     14400   IN      A       46.166.129.101
ns2     14400   IN      A       46.166.129.101

but it still not working !!!!!

So, what else i should do??

© Server Fault or respective owner

Related posts about linux