HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Debian 5 Unable to acces Websites (

ev0css 17th May 2010 22:37

Debian 5 Unable to acces Websites
Hi I jsut finish to install a debian server via the perfect install.

Now my mail work internaly and I can send outside too but i can't access any website (from domain name) (I can acces main website from IP) and can't send e-mail from the outside just wondering if someone could help.

Here is my postfix

HTML Code:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[]:10024
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination =, localhost, localhost.localdomain
myhostname =
mynetworks =
myorigin = /etc/mailname
nested_header_checks = regexp:/etc/postfix/nested_header_checks
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = mysql:/etc/postfix/
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/, mysql:/etc/postfix/
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/
virtual_mailbox_maps = proxy:mysql:/etc/postfix/
virtual_transport = maildrop
virtual_uid_maps = static:5000

ISP config DNS :

Thank you for your replies!

till 17th May 2010 22:43

1) Select the correct (internal) IP address in the website settings instead of *. If the IP is not listed, add it under System > server IP.
2) Forward port 80 and 443 from your router to your server.
3) Add DNA A-Records for your domain name and subdomains like www that point to the external IP of the router (not the internal IP!)

ev0css 17th May 2010 22:57

I did what you said the problem is that i'm configured to an external ip directly I use a Public IP splitter so should I put a DNA A recordto the gateway?

Sinchan 18th May 2010 11:51

miss a dots after NS
1 Attachment(s)
i think you miss adding dot after nameserver ( MX, NS)
please see my attachment below

ev0css 18th May 2010 15:49

I tried the adding dots and its not working again...

tell me if you need any config files...

till 18th May 2010 15:57

You have to wait 24 - 48 hours until the dns changes get propagated to all caching dns servers.

ev0css 18th May 2010 16:00

ok but I think my problem is inside because I have anther server that the domain is registered on so maybe that will never be seen?

Sinchan 19th May 2010 06:40

your problem is not in your mail/postfix configuration.
i'd try to ping and dig your main domain ( and its resolve correctly, but in your mercure machine still didnt resolve and time out.
You can wait the propagation like till's said above if your dns configuration is correct.
Just corious, do you had point your mercure in your domain manager correctly in ?
from whois answer : your domain is managed in (cmiiw)
--- whois ---
$ whois com-t*
Domain name: com-t*
Name servers: ***.***.***.141 ***.***.***.140

ev0css 19th May 2010 14:58

Yes It is managed by futurcom.

No it is not pointed but it was (for another server mounted in Fedora 12) I just deleted it and mount my debian server instead.

its because the will be removed to be replace by this one so thats another reason my mercure is not pointed.

All times are GMT +2. The time now is 07:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.