I have configured Apache+Tomcat on Linux server. I have configured 50+ domains not problem is that sometime when i configure new domain and restart the service and access the url http://domain.com i get following error ----->
HTTP Status 404 - /
type Status report
message /
description The requested resource (/) is not available.
but when i access same url with file like [url]i able to access that url and working fine.
same problem for subdomain also [url]same error but [url]is working so can anyone tell me what is the exact problem and how to solve this problem.
Note:- Other domains are working fine this problem is only with 2-3 domains and subdomain and secondly i have also set DirectoryIndex index.html index.jsp index.php
Please check my server.xml and httpd.conf ------->
I am running IIS 6 for testing & developing web sites offline before uploading the.But i am having little problem reagarding name server and how to configure sub-domain in name server,
I am so lost I am using both plesk for linux 8 and plesk for windows 8 I am trying to figure out how to have one master dns server for all domains regardless of which server they are hosted on. So if I have ns1.mydomain.com and ns2.mydomain.com I want to have it across the board on all servers is this possible in plesk and how would I go about doing this.
I have hired two servers for plesk and I have the mail configured in one server and the website in another one, it all seems to work fine except for a problem.
When the server where the website is tries to send a message through a smtp account it can´t send it, it seems to be looking for the mail server in the same server where the website is instead of look for it in the other server.
Can I have a primary domain - www.sample.com - point to another primary domain - www.sample.asn.au - but then have the entry point for that domain be a subdomain - www.ccc.example.com?
If the primary domain is parked somewhere else, doesn't it mean that all the subdomains will be too? Or do I use a 301 on the primary domain to the .asn.au site? But does that then redirect all the subdomains too?
Let's say my domain, for which I have shared hosting, is www.mydomain.com
I have also registered the domain www.yourdomain.com
My hosting has cPanel
I add www.yourdomain.com as an add-on domain.
Inside my root folder the folder /public_html/yourdomain/ is created.
When I create the subdomain subdomain.yourdomain.com, the folder /public_html/subdomain/ is created instead of /public_html/yourdomain/subdomain/
Can I assign the /public_html/yourdomain/subdomain/ folder to be the root of subdomain.yourdomain.com? e.g. I have the file image.jpg at /public_html/yourdomain/subdomain/image.jpg and it's accessed from subdomain.yourdomain.com/image.jpg
Is this possible?
Having a lot of folders directly under /public_html/ would get annoying for me.
I have 2 domains ie. red.com blue.com. They are both on seperate servers. I want red.com to be a subdomain for blue.com. I went ahead and created an A host for red.blue.com, I then created a virtualhost and everything is working, I can pull up red.blue.com and it pulls up the same data if I were to go to red.com.
Here is my issue. I want to have red.com pull up red.blue.com by default so blue.com gets credit for traffic, I am moving red.com and moving it all into blue.com. Hopefully this makes sense. Also, I want to make sure nothing breaks my current search engine results.
I am a bit confused about domain and sub-domain setup for my website.
I have Wordpress and VBulletin Forum on my website like this:
/www/mywebsite/wordpress /www/mywebsite/vbulletin
Right now, my domain points to this folder: [url]
I have a .htaccess file there which redirects it to the wordpress folder i.e. Redirect permanent /index.php http://www.mywebsite.com/wordpress DirectoryIndex index.php
But, I would like my domain name point directly to the wordpress folder like this: [url]
But the problem when i do that is my "VBulletin" forum get's messed up because then: [url]----------resolves to---------> [url]
I m thinking to resolve this issues, I will have to add a subdomain for forums like this: [url]-> [url]
But I am wondering if I do that, won't it fail again, because it will do this: [url]-----will resolve to-----> [url]
I have a domain name as per my sig. I am also creating a subdomain totally in contrast with that site below. My primary domain has one page on it so i would like to:
a) delete the one page on my primary domain
b) Make the contents of my subdomain my primary domain. e.g my domain is www.info-peep.com, my sub will be example.info-peep.com........i would like to make example.info-peep.com : www.info-peep.com......that make sense, as really the sub will be my main site.
Basically wanting to transfer the contents of my sub to my primary. So when people click info-peep.com, it will be the sub's site. Another thing to note is that i am using RVsitebuilder (WYSIWYG) that my web host provides. Also BEAR IN MIND the WYSIWYG editor does not allow me to move pages (sucks) or to copy the page contents.
I have what I think is kind of a unique situation with a site move and Google is not turning up an answer that seems to work.
My site is currently in this format:
www.mydomain.com/site/file.html
And I am "moving" it but also switching from html to php, so the same file would be found at:
site.mydomain.com/file.php
I want to redirect users going to the old pages to their equivalent on the new site, however this is a little bit of a problem because this is a normal subdomain - it is the same directory as before but now there are php versions of the html files.
Right now I have all of the http files redirecting to their php equivilents, but I don't believe this is a desirable solution. Also it creates a problem when people go to www.mydomain.com/site (not indicating a specific file; just the subdir root) because I have www.mydomain.com/site/index.html redirecting to www.mydomain.com/site/index.php.
Quite a mess.
My first option is to put the redirects in the htaccess file on the "old" site. But is this a problem because there are over 500 pages on the site? Does it create a heavy server load because any requests force the server to serve a huge htaccess file?
The next alternative seems the most preferable although I'm not sure how to do it. It seems it could use wildcards so that anyone going to *.html gets directed to *.php or something like that. The only problem is that there are a small number of files that were removed completely and do not have php equivilants (about 5 or 6) and would need to redirect to the index.php in the root
I'm using a shared host that provides good service and support, but there's one major issue I discovered recently:
Other sites hosted on their server are accessible through my domains and subdomain. For example:
Account2 on their server can be accessed through:
[url] [url]
Host says:
"Because everything is Name-based, apache decides what directory is going to be used based upon the name that is provided. However, because the username is valid, it treats it as a vaild URL and redirects it to your site. There is no security issue, as this is just the way apache’s configuration works."
Is it really normal? Does the same happen on all apache servers? I think SE's would treat the other pages as mine, no?
Switched from NGINX to Apache2 and now having challenge getting my subdomain s to work properly. Everything worked fine w/ NGINX - so I don't think this is related to my DNS or hosts file setup.
PROBLEM: Calls to dev.domain-name.org are going to www.domain-name.org.
I have tried many different changes to the conf files... NameVirtualHost changes, VirtualHost changes... I can't count how many times I have restarted Apache now.
Here is my setup:
ports.conf ----------- Listen 80 Listen 443 NameVirtualHost 96.126.xxx.xxx:443 (xxx'd out for privacy on forum) NameVirtualHost *:80 within sites-available and activated and linked in sites-enabled: