We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
CNAME Record Problem (showing server default page)
-
- Posts: 20
- Joined: Sat Sep 16, 2017 9:25 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
CNAME Record Problem (showing server default page)
Hi Friends,
I have Centos 7 VPS with Vestacp. Everything Working Perfect But When i am trying to create CNAME Record for example "Linux.mydomain.com" to "mydomain.com" and When i am visit website "Linux.mydomain.com" it should display "mydomain.com" but it display me VPS's defaul IP Page. How i can fix it? i want display main website at subdomain via CNAME Record.
I have Centos 7 VPS with Vestacp. Everything Working Perfect But When i am trying to create CNAME Record for example "Linux.mydomain.com" to "mydomain.com" and When i am visit website "Linux.mydomain.com" it should display "mydomain.com" but it display me VPS's defaul IP Page. How i can fix it? i want display main website at subdomain via CNAME Record.
Re: CNAME Record Problem (showing server default page)
@openVZvsKVM The default page can be deleted since it is a simple index.html, it is usually located in the admin user in the web folder according to the hostname of the affected server or domain.openVZvsKVM wrote:Hi Friends,
I have Centos 7 VPS with Vestacp. Everything Working Perfect But When i am trying to create CNAME Record for example "Linux.mydomain.com" to "mydomain.com" and When i am visit website "Linux.mydomain.com" it should display "mydomain.com" but it display me VPS's defaul IP Page. How i can fix it? i want display main website at subdomain via CNAME Record.
Try connecting by ssh or FTP console to go to your destination.
-
- Posts: 20
- Joined: Sat Sep 16, 2017 9:25 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: CNAME Record Problem (showing server default page)
sysdop wrote:@openVZvsKVM The default page can be deleted since it is a simple index.html, it is usually located in the admin user in the web folder according to the hostname of the affected server or domain.openVZvsKVM wrote:Hi Friends,
I have Centos 7 VPS with Vestacp. Everything Working Perfect But When i am trying to create CNAME Record for example "Linux.mydomain.com" to "mydomain.com" and When i am visit website "Linux.mydomain.com" it should display "mydomain.com" but it display me VPS's defaul IP Page. How i can fix it? i want display main website at subdomain via CNAME Record.
Try connecting by ssh or FTP console to go to your destination.
Friend Thanks for reply! My Problem is -> I have add new domain "domain.com" and i want add display website as my subdomain "subdomain.domain.com -> domain2.com" via CName Record. When i am trying to create CName reocrd in "domain.com" it is not display me "domain2.com" at "mysubdomain.com" it is display me server hostname index. I hope now you will understand!
-
- Posts: 35
- Joined: Fri Dec 08, 2017 3:48 pm
- Os: Debian 7x
- Web: apache + nginx
Re: CNAME Record Problem (showing server default page)
If I understand correctly, this is your setup:openVZvsKVM wrote:sysdop wrote:@openVZvsKVM The default page can be deleted since it is a simple index.html, it is usually located in the admin user in the web folder according to the hostname of the affected server or domain.openVZvsKVM wrote:Hi Friends,
I have Centos 7 VPS with Vestacp. Everything Working Perfect But When i am trying to create CNAME Record for example "Linux.mydomain.com" to "mydomain.com" and When i am visit website "Linux.mydomain.com" it should display "mydomain.com" but it display me VPS's defaul IP Page. How i can fix it? i want display main website at subdomain via CNAME Record.
Try connecting by ssh or FTP console to go to your destination.
Friend Thanks for reply! My Problem is -> I have add new domain "domain.com" and i want add display website as my subdomain "subdomain.domain.com -> domain2.com" via CName Record. When i am trying to create CName reocrd in "domain.com" it is not display me "domain2.com" at "mysubdomain.com" it is display me server hostname index. I hope now you will understand!
Domain example.com:
@ A 1.1.1.1
sub CNAME example2.com.
Domain example2.com:
@ A 1.1.1.1
However, sub.example.com is showing the content of example.com instead example2.com?
If you browse directly to example2.com, do you get the correct content?
-
- Posts: 20
- Joined: Sat Sep 16, 2017 9:25 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: CNAME Record Problem (showing server default page)
it Should be display Anotherdomain.com at static.example.com right?
But when i visit static.example.com it display me example.com Server Default Page not Anotherdomain.com
-
- Posts: 35
- Joined: Fri Dec 08, 2017 3:48 pm
- Os: Debian 7x
- Web: apache + nginx
Re: CNAME Record Problem (showing server default page)
That's an odd one...
and what happens if you browse directly to anotherdomain.com? Is anotherdomain.com located on the same vestacp?
and what happens if you browse directly to anotherdomain.com? Is anotherdomain.com located on the same vestacp?
-
- Posts: 20
- Joined: Sat Sep 16, 2017 9:25 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: CNAME Record Problem (showing server default page)
anotherdomain.com is working fine and yes it is hosted in same vps.
one more example is i want display main website at subdomain via Cname record. example.com at subdomain.example.com via CNAME record.
But When i am trying it is not show me example.com or anotherdomain.com via cName it just show me Server defult page at CNAME record.
one more example is i want display main website at subdomain via Cname record. example.com at subdomain.example.com via CNAME record.
But When i am trying it is not show me example.com or anotherdomain.com via cName it just show me Server defult page at CNAME record.
-
- Posts: 1
- Joined: Sat Sep 23, 2017 2:50 pm
Re: CNAME Record Problem (showing server default page)
someone give a solutions ? i have same problem...
-
- Posts: 20
- Joined: Sat Sep 16, 2017 9:25 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: CNAME Record Problem (showing server default page)
what is your vestacp configuration?????