First domain setup

Discussion in 'Installation/Configuration' started by cnh, Aug 20, 2008.

  1. cnh

    cnh New Member

    Hi All,

    I am new to ISPConfig. Please help me. My problem is that I can’t get ISPconfig work with the first registered domain.

    (a) Management -> Server -> Settings

    Server name: Server 1
    Hostname: ec2-75-101-251-98.compute-1
    Domain: amazonaws.com
    IP Address: 10.254.203.68
    Default Ns1: 10.254.203.68
    Default Ns2: 10.254.203.68

    (b) ISP manager -> onelurv.com

    Hostname: www
    Domain: onelurv.com
    IP Address: 10.254.203.68

    Create DNS -> enabled
    Create DNS MX -> disabled

    (c) DNS Manager -> onelurv.com

    Domain (SOA): onelurv.com
    IP Address: 10.254.203.68
    Nameserver 1: ns1.onelurv.com
    Nameserver 2: ns2.onelurv.com

    IP-Adresse Hostname
    10.254.203.68 www

    (d) Ifconfig output:
    eth0 Link encap:Ethernet HWaddr 12:31:39:00:c4:b6
    inet addr:10.254.203.68 Bcast:10.254.203.255 Mask:255.255.254.0
    inet6 addr: fe80::1031:39ff:fe00:c4b6/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:212527 errors:0 dropped:0 overruns:0 frame:0
    TX packets:131570 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:224093538 (213.7 MB) TX bytes:34660607 (33.0 MB)

    eth0:0 Link encap:Ethernet HWaddr 12:31:39:00:c4:b6
    inet addr:10.254.203.68 Bcast:10.254.203.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:17622 errors:0 dropped:0 overruns:0 frame:0
    TX packets:17622 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1056485 (1.0 MB) TX bytes:1056485 (1.0 MB)

    (e) hostname output:
    domU-12-31-39-00-C4-B6

    (f) Registered domain name: onelurv.com
    http://who.godaddy.com/WhoIs.aspx?domain=onelurv.com&prog_id=godaddy

    (g) Static IP: 75.101.251.98, ec2-75-101-251-98.compute-1.amazonaws.com
    This server running Amazon EC2.

    (f) /etc/apache2/vhosts/Vhosts_ispconfig.conf
    ###################################
    #
    # ISPConfig vHost Configuration File
    # Version 1.0
    #
    ###################################
    #
    NameVirtualHost 10.254.203.68:80
    <VirtualHost 10.254.203.68:80>
    ServerName localhost
    ServerAdmin [email protected]
    DocumentRoot /var/www/sharedip
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
    </IfModule>
    </VirtualHost>
    #
    #
    ######################################
    # Vhost: www.onelurv.com:80
    ######################################
    #
    #
    <VirtualHost 10.254.203.68:80>
    ServerName www.onelurv.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web7/web
    ServerAlias onelurv.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    Alias /cgi-bin/ /var/www/web7/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web7/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_flag safe_mode Off
    <IfModule mod_python.c>
    <Directory /var/www/web7/web>
    Options +Indexes +FollowSymLinks +MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    AddHandler mod_python .py
    PythonHandler mod_python.publisher
    PythonDebug On
    </Directory>
    </IfModule>
    AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
    AddType text/vnd.wap.wml .wml
    AddType text/vnd.wap.wmlscript .ws .wmlscript
    AddType image/vnd.wap.wbmp .wbmp
    Alias /error/ "/var/www/web7/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
    </IfModule>
    </VirtualHost>



    You can access the static IP above through port 80 and you will see IP shared message. By the way, do I need to use my own DNS server?

    If you need any other information please let me know.

    Thanks.
     
  2. cnh

    cnh New Member

    Hi all,

    Is there any chances for me to use ISPConfig on EC2???
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The domain www.onelurv.com does not seem to exist in DNS or is not registered. Please make sure that you registered the domain and that it points with A DNS A-Record to the IP of your server.

    No, you can use the DNS server of the provider were you registered your domain.

    I never used EC2 but I see no reason why it should not work. Just make sure that the Linux distribution you use is suppoerted by ISPConfig.
     

Share This Page