Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

dev environment dns

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
elamigosam21
Posts: 23
Joined: Mon Nov 21, 2016 5:47 am

Os: CentOS 6x
Web: apache + nginx
dev environment dns
  • Quote

Post by elamigosam21 » Fri Sep 21, 2018 8:16 pm

Hi, correct me if I am wrong or I am trying to do this the wrong way.
I want to have two server, one production (mywebsite.com) one development (dev.mywebsite.com).
I want to setup an user on the dev server and then setup the website (clientwebsite.com) under the same user.
I want to be able use client.dev.mywebsite.com to show the client process on their website,

how do I access clientwebsite.com on my dev server by accessing client.dev.mywebsite.com?
or maybe I am doing this the wrong way? this is a wordpress installation.

I would like to do it this way, because then when I am done, I can simply make a backup on dev server and then do a restore on the production server.
Thank you
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: dev environment dns
  • Quote

Post by skamasle » Sun Sep 30, 2018 12:10 pm

Why not just this adress to your client: dev.mywebsite.com

So, you have a dev.mywebsite.com and you have a dev site there, just send that url to your client and then he can see your work there.
Top

elamigosam21
Posts: 23
Joined: Mon Nov 21, 2016 5:47 am

Os: CentOS 6x
Web: apache + nginx
Re: dev environment dns
  • Quote

Post by elamigosam21 » Tue Oct 16, 2018 11:34 pm

Thanks for the comment,

what I did is that I setup a alias on the website i was building as the client.dev.web.com
even if I have the clientdomain.com setup, it still shows as client.dev.web.com
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password