hostname and dns recordsRemoving the period from a hostnameWhat's the difference between `hostname` and `uname -n`How can I set-up Postfix to handle multiple domains?Postfix won't transfer WordPress contact form emails to my Gmail accountRequiring IPv4 addressing for wi-fi connection in Bionic?Clean install of ubuntu 18.04 LTS - struggling to set dns server manuallyUbuntu 18.10 and 19.04 - Hyphen in Hostname?
Carlsen vs. Nepo this morning, why didn't Nepo win the pawn?
What are the units of the product of two signals?
How to deal with an employee who is requesting a demotion?
How do I negotiate salary when returning to a position I just left?
Why is SpaceX not also working on a smaller version of Starship?
What is the difference between "cat < filename" and "cat filename"?
Chain cassette noise
Linear constraint formulation (OR-statement)
Can a Rogue exploit a tiny familiar for automatic Sneak Attack in melee?
Suppose I capture encrypted data that I want to decrypt. Could I use a server farm to decrypt?
Why would a berry have a slow-acting poison?
How to evaluate math equation, one per line in a file?
Exactly what color was the text on monochrome terminals with green-on-black and amber-on-black screens?
Contacted by head of school regarding an issue - should I be worried?
What is the quickest way to raise Affection?
My professor changed a take-home test to an in-class test with no notice. Can I fight the grade?
What's a good use case for SELECT * in production code?
Is it necessary to wipe out vile man-eating dragons?
Is Local Stochastic Vol needed in order to price barrier options?
A bob hanging in an accelerating train moves backward. What is the force moving it backward?
What does "Massage with salt" mean in a recipe?
Was Nixon right, and if so, to what degree was he right, when he said that "... but when the president does it, that means that it is not illegal."?
Do gray aliens exist in Star Trek?
Is my friend from Egypt with a Schengen visa allowed to visit the UK?
hostname and dns records
Removing the period from a hostnameWhat's the difference between `hostname` and `uname -n`How can I set-up Postfix to handle multiple domains?Postfix won't transfer WordPress contact form emails to my Gmail accountRequiring IPv4 addressing for wi-fi connection in Bionic?Clean install of ubuntu 18.04 LTS - struggling to set dns server manuallyUbuntu 18.10 and 19.04 - Hyphen in Hostname?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I would like to purchase a domain, say fireworks.com
, and a VPS.
Supposing that I want to call my machine ubuntu-1804
, I wonder how my etc/hosts
file should be edited, as follows:
127.0.0.1 localhost
203.0.113.10 fireworks.com ubuntu-1804
Or as follows:
127.0.0.1 localhost.localdomain localhost
203.0.113.10 ubuntu-1804.fireworks.com ubuntu-1804
Also, Linode's documentation suggests to create an “A” record in DNS pointing to my VPS IPv4 address, and an "AAAA" record pointing to my VPS IPv6 address. Should I add these records for fireworks.com
or for ubuntu-1804.fireworks.com
?
18.04 hostname vps
add a comment
|
I would like to purchase a domain, say fireworks.com
, and a VPS.
Supposing that I want to call my machine ubuntu-1804
, I wonder how my etc/hosts
file should be edited, as follows:
127.0.0.1 localhost
203.0.113.10 fireworks.com ubuntu-1804
Or as follows:
127.0.0.1 localhost.localdomain localhost
203.0.113.10 ubuntu-1804.fireworks.com ubuntu-1804
Also, Linode's documentation suggests to create an “A” record in DNS pointing to my VPS IPv4 address, and an "AAAA" record pointing to my VPS IPv6 address. Should I add these records for fireworks.com
or for ubuntu-1804.fireworks.com
?
18.04 hostname vps
1
If you also want fireworks.com locally to resolve to the same address use the first. The DNS issue is separate.
– Thomas Ward♦
Sep 16 at 16:43
add a comment
|
I would like to purchase a domain, say fireworks.com
, and a VPS.
Supposing that I want to call my machine ubuntu-1804
, I wonder how my etc/hosts
file should be edited, as follows:
127.0.0.1 localhost
203.0.113.10 fireworks.com ubuntu-1804
Or as follows:
127.0.0.1 localhost.localdomain localhost
203.0.113.10 ubuntu-1804.fireworks.com ubuntu-1804
Also, Linode's documentation suggests to create an “A” record in DNS pointing to my VPS IPv4 address, and an "AAAA" record pointing to my VPS IPv6 address. Should I add these records for fireworks.com
or for ubuntu-1804.fireworks.com
?
18.04 hostname vps
I would like to purchase a domain, say fireworks.com
, and a VPS.
Supposing that I want to call my machine ubuntu-1804
, I wonder how my etc/hosts
file should be edited, as follows:
127.0.0.1 localhost
203.0.113.10 fireworks.com ubuntu-1804
Or as follows:
127.0.0.1 localhost.localdomain localhost
203.0.113.10 ubuntu-1804.fireworks.com ubuntu-1804
Also, Linode's documentation suggests to create an “A” record in DNS pointing to my VPS IPv4 address, and an "AAAA" record pointing to my VPS IPv6 address. Should I add these records for fireworks.com
or for ubuntu-1804.fireworks.com
?
18.04 hostname vps
18.04 hostname vps
asked Sep 16 at 16:15
AsarluhiAsarluhi
8232 gold badges8 silver badges20 bronze badges
8232 gold badges8 silver badges20 bronze badges
1
If you also want fireworks.com locally to resolve to the same address use the first. The DNS issue is separate.
– Thomas Ward♦
Sep 16 at 16:43
add a comment
|
1
If you also want fireworks.com locally to resolve to the same address use the first. The DNS issue is separate.
– Thomas Ward♦
Sep 16 at 16:43
1
1
If you also want fireworks.com locally to resolve to the same address use the first. The DNS issue is separate.
– Thomas Ward♦
Sep 16 at 16:43
If you also want fireworks.com locally to resolve to the same address use the first. The DNS issue is separate.
– Thomas Ward♦
Sep 16 at 16:43
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1174568%2fhostname-and-dns-records%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1174568%2fhostname-and-dns-records%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
If you also want fireworks.com locally to resolve to the same address use the first. The DNS issue is separate.
– Thomas Ward♦
Sep 16 at 16:43