159 reputation
7
bio website
location
age 24
visits member for 3 years, 9 months
seen Oct 30 at 11:38

Feb
11
asked Centos Virtual host loading default page
Feb
10
comment Virtual Host on centos
@Chris S no any other solution rather then this? OK I ll see to it
Feb
10
comment Virtual Host on centos
@Chris S so what should I do now?
Feb
10
comment Virtual Host on centos
@Chris S then why am I getting Centos Default page instead of my website, where as my other website is working fine
Feb
10
comment Virtual Host on centos
@Chris S I enter exactly same, but one more thing, do I have to set DNS settings?, cause I haven't till yet
Feb
10
comment Virtual Host on centos
@Chris S so in ServerName I have to change from onlinemba123 to onlinemba123 Am I rite?
Feb
10
awarded  Commentator
Feb
10
awarded  Editor
Feb
10
revised Virtual Host on centos
deleted 12 characters in body
Feb
10
comment Virtual Host on centos
@mathew I did as per your saying, but now when I type new_website on url, I am getting the default "Apache 2 Test Page" , and my old website is working well, now my config is changed, check my question
Feb
9
comment Virtual Host on centos
@Chris S I didn't get you, Is there anything wrong with my virtual host config?
Feb
9
comment Virtual Host on centos
@Chris S, I tried that, when I enter in URL, then my old site is opening, instead of the new one, why so
Feb
9
comment Virtual Host on centos
in hosts file, what IP should I write 127.0.0.1 or the current VPS IP?
Feb
9
comment Virtual Host on centos
I am getting this, when I typed nslookup Server: 89.36.21.42 Address: 89.36.21.42#53 ** server can't find onlinemba123: NXDOMAIN
Feb
9
comment Virtual Host on centos
OK in my DNS, I have added everything, and I also changed the folder name, but now when I type new_named_site, I get server not found
Feb
9
comment Virtual Host on centos
but my folder name is same as my domain name, which is pointing somewhere, so that website will open, any other way? And if I change the folder name, and then type on url new_site.com, will it get opened? I think their will be no such site with this name, so it will return 404
Feb
9
asked Virtual Host on centos
Feb
9
awarded  Scholar
Feb
9
accepted VPS multiple sites help
Feb
9
comment VPS multiple sites help
ok then so finally I ll be having this kind of structure for new website:/var/www/html/new_site and for old that is for current /var/www/html/old_site In old_site and new_site folders my wordpress files will go, am I rite?