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 General Discussion
  • Search

Add site without domain for development purposes Topic is solved

General questions about VestaCP
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
madbalmung
Posts: 5
Joined: Fri Jun 22, 2018 2:18 am

Os: Ubuntu 15x
Web: apache + nginx
Add site without domain for development purposes
  • Quote

Post by madbalmung » Fri Jun 22, 2018 2:26 am

We want to add a new website in our cloud VPS through our VestaCP panel.

The problem is that this new website will be dedicated only for testing projects in a sandbox environment so... we won't pay for any domain name server because we just want to access to this site in private.

How should we configure this new site through VestaCP? What domain name should we input when prompted? And... how do we access to the website in our browsers?

Thanks in advance!
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Add site without domain for development purposes
  • Quote

Post by ScIT » Fri Jun 22, 2018 5:07 am

You can override any domain requests with your hosts file (https://en.wikipedia.org/wiki/Hosts_(file)).

You have to setup a vaild domain name, for example test123.com, then point it to your server inside the host file.
Top

madbalmung
Posts: 5
Joined: Fri Jun 22, 2018 2:18 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Add site without domain for development purposes
  • Quote

Post by madbalmung » Fri Jun 22, 2018 5:20 am

Ok so after doing that we will be able to access the test site through the IP of the server?

We currently have only one IP added in VestaCP and its the one that the server company gave us. When you access it through the browser it redirects to the domain of one of the websites we have online for a customer.

Should we add a new IP address for the test site?
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Add site without domain for development purposes
  • Quote

Post by ScIT » Fri Jun 22, 2018 5:31 am

No, it will work without additional ip.
Top

inco
Posts: 2
Joined: Thu Jun 21, 2018 10:39 am

Os: Debian 8x
Web: nginx + php-fpm
Re: Add site without domain for development purposes
  • Quote

Post by inco » Fri Jun 22, 2018 9:42 am

use a different port, or use a free domain like .tk
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Add site without domain for development purposes
  • Quote

Post by ScIT » Fri Jun 22, 2018 9:45 am

inco wrote: ↑
Fri Jun 22, 2018 9:42 am
use a different port, or use a free domain like .tk
why he should use a different port?
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “General Discussion”



  • 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