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 Web Server
  • Search

How can I change Default Domain?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
ttcttctw
Posts: 26
Joined: Thu May 28, 2015 2:49 am
Contact:
Contact ttcttctw
Website

How can I change Default Domain?
  • Quote

Post by ttcttctw » Sun Sep 27, 2015 6:08 pm

I want to know how to change Default Domain.
For Any unlinked Domain or IP to access a particular website.

I tried viewtopic.php?f=11&t=4032#p7400 but doesn't work for me.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: How can I change Default Domain?
  • Quote

Post by tjebbeke » Sun Sep 27, 2015 6:22 pm

you can change the content in /home/admin/web/default.domain/public_html
Top

ttcttctw
Posts: 26
Joined: Thu May 28, 2015 2:49 am
Contact:
Contact ttcttctw
Website

Re: How can I change Default Domain?
  • Quote

Post by ttcttctw » Tue Sep 29, 2015 12:46 am

I didn't mean by content, I want to change the default website, that when I access my server via IP or unlinked Domain it will goes to.
Top

tamburawebelinx
Posts: 2
Joined: Tue Sep 29, 2015 11:40 am

Re: How can I change Default Domain?
  • Quote

Post by tamburawebelinx » Tue Sep 29, 2015 11:41 am

I was interested in this also? Answer, anybody?
Thanks
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: How can I change Default Domain?
  • Quote

Post by tjebbeke » Tue Sep 29, 2015 1:06 pm

When you delete your default.domain the first added website is your default domain when you access via IP or unliked domain. You can not change it.
Top

ttcttctw
Posts: 26
Joined: Thu May 28, 2015 2:49 am
Contact:
Contact ttcttctw
Website

Re: How can I change Default Domain?
  • Quote

Post by ttcttctw » Thu Oct 01, 2015 1:43 am

really!
Top

mkaand
Posts: 15
Joined: Fri Jan 12, 2018 11:25 am
Contact:
Contact mkaand
Website Twitter

Os: Ubuntu 17x
Web: apache + nginx
Re: How can I change Default Domain?
  • Quote

Post by mkaand » Wed Jan 17, 2018 11:45 pm

I have exactly same issue. I deleted my default Domain on VestaCP. Than I create again. But all requests (http://IP_ADDRESS) too, goes to first added domain. I need to change it. But how?
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Web 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