dns howto? dns howto?

Topic: dns howto?

Post dns howto?
by sosialtnett on Saturday, June 6, 2015

Well, never touched each technique. But given that i should set up a separate Web server to my free social networking, then I see that i have to use this service.

The question is not what to write into the configuration of the domain, I have understood it, as you can see from the first picture, it should be properly done.

But then I come to the picture nr2.
What IPv4 Address is what we talking about here? Is that IPv4 Address as the router address? Or should I just leave the default IPv4 Address untouched?

Should / must I use the router's IPv6 Address? or is there something else IPv6 Address to be filled in?

"Location"
Is this address to the directory website located? Or something really special?

And what does "TTL (seconds)" for my network in practice?

Had every advantage att you not only explained why, but also showed some items and how / what to enter! There are beginners who are completely blank on this, as I am. And for me it's still one big question mark!

Reply with quote | Report
Post Re: dns howto?
by nnelson on Saturday, June 6, 2015

I'm also a new user, but I believe if you hover your mouse over the small ? next to each term in the control panel, there is explanation for it.

I will try to answer some of your questions, but I'm no expert here.

1. The IPv4 address is the IP address that your domain name is mapping to. If you are hosting a web server, it should be the IPv4 address of your web server. Normally it should be updated dynamically using the IP update client software so that the domain name maps to the most current IP address at all times. So you can leave the IPv4 address as it is and install the client software available for download in the 'Downloads' section and run it to keep your domain name mapped to your IP address.

2. IPv6 is a plus feature and it is more secure in some way. If you are not using IPv6 address on your web server, you can just leave it.

3. You can give your domain name a location, for example, home. Then when you use the client software to update your IP address, you do not need to remember all the domain names. It is quite useful for me since I have like 5 domain names that I use at home and work, so I will just assign the domain names with location 'home' and 'work'. It is just so much easier.

4. TTL is normally 90 seconds.

I suggest that you read some tutorials and setup pages on the website. I got quite a lot of information out of it.


Reply with quote | Report
Post Re: dns howto?
by sosialtnett on Saturday, June 6, 2015

Je i have understand many things and have my first server upp and run.
But thnak you for the nice info.

Norwegian in Sweden here.

Reply with quote | Report
Post Re: dns howto?
by timothytw on Saturday, June 6, 2015

You can leave the settings in the Control Panel as they are.

You will have to setup port forwarding in the router. You can actually host two websites using the same IP address but you will have to setup HOST HEADER for each of the websites in the web server configuration. If you are using Apache, you will have to set that up in the httpd.conf file while if you are using IIS, you can just use the GUI and setup the HOST HEADERS for the two domain names one for each website.

Let us know how it goes or if you need more help.

Reply with quote | Report
Post Re: dns howto?
by sosialtnett on Tuesday, June 9, 2015

Trouble here:

Forward test went ok on your testpage vid my ip. So the router config its ok. Local i com in to my suite, but no one outside comes into the server! http://rss-areas.com/oxwall/ they get only a blank page with:

   ampps
Not Found - 404
The requested URL was not found on the server.


And in the Current DNS Status i have "Warning! Domain name rss-areas.com is not using Dynu name servers!"

It was ok last day, but not anymore!

And another thing. Should use all NS records in domain configuration or simply NS nr1 and 2? Look att you five NS, I can only accommodate four of them on crystone.net

Reply with quote | Report
Post Re: Re: dns howto?
by rahsharma on Tuesday, June 9, 2015

sosialtnett wrote:Trouble here:

Forward test went ok on your testpage vid my ip. So the router config its ok. Local i com in to my suite, but no one outside comes into the server! http://rss-areas.com/oxwall/ they get only a blank page with:

   ampps
Not Found - 404
The requested URL was not found on the server.


And in the Current DNS Status i have "Warning! Domain name rss-areas.com is not using Dynu name servers!"

It was ok last day, but not anymore!

And another thing. Should use all NS records in domain configuration or simply NS nr1 and 2? Look att you five NS, I can only accommodate four of them on crystone.net
You can list as many of the name servers as you want. There is no need to list all 5 of them.

Being able to reach the ampps server is actually a good thing, it means that the traffic does get to the web server. Its just that the web server does not seem to be configured correctly using host headers or the path is incorrect.

Reply with quote | Report
Post Re: dns howto?
by timothytw on Tuesday, June 9, 2015

Dynamic DNS service for rss-areas.com is working normally. I was able to reach oxwall page with the following URL: http://rss-areas.com/rss-areas.com/oxwall/. I think the directory was not setup correctly.

It is ok to list NS1.DYNU.COM, NS2.DYNU.COM, NS3.DYNU.COM AND NS4.DYNU.COM as name servers. You may use the 'Refresh' button in the 'Current DNS Status' section to get the most current DNS status.

Reply with quote | Report
Post Re: dns howto?
by sosialtnett on Tuesday, June 9, 2015

I istall Debian 8.1 last stabel. Can take time before i have that server up and go. But i coming back here if i hade problem after i have sett upp the new server in the Debian.

Server in win7 its some bad things i think

Reply with quote | Report
Post Re: dns howto?
by sosialtnett on Tuesday, June 9, 2015

Linux to havy, i drop it.

Now i am in win7 again in AMPPS: http://www.ampps.com/

All its sett up rigt and the prt its tested in your page sucess. I can se this url:
http://sosialtnett.tk/ and http://rss-areas.com in my computer, but other can not se the page!
I have a another computer, but: Webpage not available even there.

So i dont understand?

Last day all was ok, but to day have all this ben hell.

Now i try to sett up on Linux OPENsuse 13.2. oensuse has before was mu best os, so i try to sett up there. i coming back here, if still trouble.

Reply with quote | Report
Post Re: Re: dns howto?
by timothytw on Wednesday, June 10, 2015

sosialtnett wrote:Linux to havy, i drop it.

Now i am in win7 again in AMPPS: http://www.ampps.com/

All its sett up rigt and the prt its tested in your page sucess. I can se this url:
http://sosialtnett.tk/ and http://rss-areas.com in my computer, but other can not se the page!
I have a another computer, but: Webpage not available even there.

So i dont understand?

Last day all was ok, but to day have all this ben hell.

Now i try to sett up on Linux OPENsuse 13.2. oensuse has before was mu best os, so i try to sett up there. i coming back here, if still trouble.
I am able to reach http://sosialtnett.tk/ and http://rss-areas.com. Both show a page saying "Welcome to my website!".

Reply with quote | Report
Post Re: dns howto?
by sosialtnett on Wednesday, June 10, 2015

I find the problem. All install file off Oxwall most be in /www folder
http://sosialtnett.tk

Bu i have make the new record to rss-areas.com
But i not sure if its right done!

In Location box i ride "rssareas" same as /www/rssareas/ there i have point the domain rss-areas.com in my panel in AMPPS manager.

Reply with quote | Report
Post Re: dns howto?
by sosialtnett on Thursday, June 11, 2015

Now I think makes some lashing for myself here!

But let's take this a little more slow and explanatory right for you.

I have added two domains in AMPPS (see picture):
and automatically created two directories in C: \ Ampps \ www (See photo):
"rssareas" and "sosialtnett"

After this I went to dynu.com Control Center and chose to edit the entries I made there earlier. I clicked on the "Locations" for domains, adding the directory name as the two Oxwall installation files are now. See the pictures:

and:

If you have difficulty seeing the pictures! please visit my social networks and see all the photos here: http://forum-groups.org/photo/useralbum/admin/3

But after all this, I just get a directory page when I browse to for example: http://sosialtnett.tk (See picture):

If all I have done is wrong! How do I get the domain to point to the directories I have typed in "Locations"?

Thanks for al help here.

Forget to say that, all rignt in localhost, but rong in the web

Reply with quote | Report
Post Re: Re: dns howto?
by rahsharma on Thursday, June 11, 2015

sosialtnett wrote:

After this I went to dynu.com Control Center and chose to edit the entries I made there earlier. I clicked on the "Locations" for domains, adding the directory name as the two Oxwall installation files are now.
The 'location' in the control panel is used for IP update for a collection of domain names or aliases by specifying the 'location' in the IP update client.

In your case, the setup is only required in web server and you won't have to use the 'location' feature in the control panel since both websites are pointing to the same IP address.

You can edit the HTTPD-VHOSTS.CONF to map the domain names to different directories:


ServerName sosialtnett.tk
ServerAlias www.sosialtnett.tk
<Directory "c:\ampps\www\sosialtnett">

ServerName rss-areas.com
ServerAlias www.rss-areas.com
<Directory "d:\ampps\www\rssareas">

Reply with quote | Report
Post Re: dns howto?
by sosialtnett on Thursday, June 11, 2015

Thanks for that info. No such files in the directories you mention, however,
I searched for the file in ampps directory and got up this:)

And get this:

#DO NOT EDIT, CREATED BY AMPPS


#### sosialtnett.tk VirtualHost ####


The first file like this, and hvat to do here. Seams to me that all ok!



Have take away the VirtualHost on the first image in the moment off safe mather for this forum.

The other file lake this:



And there its onely som info and example i think!

So where and what am I supposed to change?


(Have change back in controlpanel and take away that i ride there. So its back to right again there). Like you say.

Reply with quote | Report
Post Re: dns howto?
by sosialtnett on Friday, June 12, 2015

Forget all tread in this forumpost over here, dont make any change, becouse i have found the trouble and fix it.

Problem was:


"Is Domain Addon or Parked?
Check for Addon & Uncheck for Parked" in add domain in http://localhost/ampps

Uncheck for Parked if you have same problem vid AMPPS in Windows.

After that change, all ok here.

Reply with quote | Report
Post Re: dns howto?
by timothytw on Saturday, June 13, 2015

We are glad that everything worked out for you!

Reply with quote | Report
Friday, November 17, 2017 9:32 PM