LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-08-2010, 08:24 AM   #1
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Rep: Reputation: 16
My first server. Questions I have as I get better.


Ok folks I did reading on DNS. I am not doing a dns server. At the moment I am going to the beginning and making a webserver.
Running
Debian Lenny with the newest apache software.
I have a registered domain.
japanalt1.com

I am using the service at freedns.afraid.org

I am using inadyn to do the internet IP and I have my router forwarding to my webserver.

Problem
When i type my internet domain japanalt1.com into the browser i get the freedns.afraid.org website.
Why?
This is the command line I use to launch inadyn
inadyn --dyndns_system default@freedns.afraid.org -a japanalt1.com,(hash for first alias.)

Last edited by blufire; 06-09-2010 at 08:08 AM. Reason: renaming in order to suit the topic better
 
Old 06-08-2010, 08:41 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
It.. doesn't?

Code:
~$ host japanalt1.com
japanalt1.com           A       118.9.96.172
~$ host freedns.afraid.org
freedns.afraid.org      A       67.19.72.205
I get your site. "Japan Alt ペイジ よろしく".
 
Old 06-08-2010, 09:02 AM   #3
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Original Poster
Rep: Reputation: 16
It seems to work now. I deleted it and then I added it again. But there is something a bit strange. Maybe someone can answer it.
www.japanalt1.com doesnt seem to work while
just japanalt1.com works.
Any reason why this would be


Also thank you for checking it. I just read a forum comment that it can not be checked from a pc connected to the home network. So i had to use my cell phone to check it.
Thank you very much.

Last edited by blufire; 06-08-2010 at 09:03 AM.
 
Old 06-08-2010, 09:03 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
You didn't add an A or CNAME record for "www"?
 
Old 06-08-2010, 09:12 AM   #5
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Original Poster
Rep: Reputation: 16
thank you i added the subdomain with a www.
 
Old 06-09-2010, 08:06 AM   #6
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Original Poster
Rep: Reputation: 16
Everything in my site so far looks great. I even added the google translator and I think it should work fine.
two questions.
1. My main background picture is not showing up and I dont know why. I will check to make sure it is in the right folder that I am calling it from. I hope that is the problem. (fingers crossed)
2. My contact us form. the third link on the site. I want it to send the contact form email to my gmail account. I have postfix installed. But I thought all i needed to do was the php code for mailto:.
Can someone clear up if I need to set up postfix to be able to send an email out when someone tries the contact form? Or can someone let me know if it is just a php thing with a cname at my dns mail.japanalt1.com something like that. Please let me know. Thank you
 
Old 06-09-2010, 08:11 AM   #7
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Original Poster
Rep: Reputation: 16
code:
Quote:
<?php
$to = "myemail@gmail.com";
$subject = "Contact Us";
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
$headers = "From: $email";
$sent = mail($to, $subject, $message, $headers) ;
if($sent)
{print "Your mail was sent successfully"; }
else
{print "We encountered an error sending your mail"; }
?>
I learned this way off of a simple tutorial to make a simple contact form on my page.
This is the precurser to when I get better and can do files for security I will be adding a mail service. But I thought well I could add a contact information page so that it could be more friendly. I have the problem link which launches the email program. But I live in japan and japanese people are less likely to complain but more likely to mention something in a comment form.

Last edited by blufire; 06-09-2010 at 08:13 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu - ipv6, freenet6, afraid.org n|nna Linux - General 0 11-04-2007 04:18 PM
LXer: OpenOffice.org Tipping Point? LXer Syndicated Linux News 0 10-08-2007 10:10 AM
LXer: Linux Configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server LXer Syndicated Linux News 0 06-13-2007 08:46 AM
LXer: Point & Click OpenOffice.org! Review LXer Syndicated Linux News 0 01-29-2006 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration