Mobile app version of vmapp.org
Login or Join
Ann8826881

: I cant get my domain to point to my server I have bought a domain on Crazy Domains called techitproductions.com And at home i have a Linux Ubuntu Server running Apache, php5, ispconfig, courier

@Ann8826881

Posted in: #Linux #Nameserver #Ubuntu

I have bought a domain on Crazy Domains called techitproductions.com And at home i have a Linux Ubuntu Server running Apache, php5, ispconfig, courier mail etc... I have port forwarded port 80, 8888 (for ispconfig), 22 (for Putty).

My question is what ports do i need to portforward for a fully working server, with both SSL, SSH and mail working?

My second question is how do i get my domain pointing to my server? My external ip is static.

Please i need a step by step instruction's i am new to Linux servers and the whole website hosting etc...

Thanks, Marais

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ann8826881

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ravi8258870

My question is what ports do i need to portforward for a fully working server, with both SSL, SSH and mail working?

You need to set up ports 80, 443 (for SSL if you want it), port 22 (SSH/Telnet) and maybe port 21 for FTP if you want that.

Mail:

POP3 - port 110
IMAP - port 143
SMTP - port 25
Secure SMTP (SSMTP) - port 465
Secure IMAP (IMAP4-SSL) - port 585
IMAP4 over SSL (IMAPS) - port 993
Secure POP3 (SSL-POP) - port 995


My second question is how do i get my domain pointing to my server? My external ip is static.

You have to go into your DNS (cloudflare, godaddy, or something) and make an A-record like this:

Host: @ (means 'root domain')
Destination: your-ip-address (not another subdomain, it has to be numbers)

You can create subdomains (www, ftp, etc) and just replace the @ with the subdomain you want, and the IP it will go to.

If you haven't done so already, you need to make Apache listen on your domain. Make sure you have this in your httpd.conf file:

NameVirtualHost *:80

<VirtualHost *:80>
<Directory "/path/to/files/">
AllowOverride All
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
</Directory>
ServerAdmin your@email.com
DocumentRoot "/path/to/files/"
ServerName techitproductions.com
ServerAlias techitproductions.com php_admin_value open_basedir /path/to/files/
</VirtualHost>


If you need more assistance, please reply with a comment and I'll try to reply as fast as I can.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme