Opening A Domain In My Subdomain
Jun 28, 2007How can I open a domain that is not in my server in one of my subdomaines?
(when we go to my subdomain open the doreign domain and url not redirect)
I have Cpanel + WHM
How can I open a domain that is not in my server in one of my subdomaines?
(when we go to my subdomain open the doreign domain and url not redirect)
I have Cpanel + WHM
I have problem,
subdomain.domain.com - not working
www.subdomain.domain.com - working
When I creating new subdomain: subdomain2.domain.com - all working ok, I have problem only with this one domain.
I deleting domain.com, deleting dns zones, deleting account, adding domain to other account - all not working for subdomain.domain.com
what are the differences?
View 9 Replies View Relatedi wanted to create secure.mydomain.com . i can create this either as a separate domain or as a subdomain for mydomain.com.
which one is preferred and why?
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.
How can I park a domain on subdomain in PLESK (like cpanel add-on domain)
View 3 Replies View RelatedIf I have domain.com going to /html/ on my server,
how do I get blog.domain.com to go to /html/blog ?
and I want the url to SHOW as blog.domain.com in the address bar.
seems like it should be simple, but I cant seem to find the answer! is it an htaccess thing, or a cname thing, or both?
I would like to create a domain which will point to another website/IP.
Something like this:
DomainA.com has subdomain1.DomainA.Com
and subdomain1.DomainA.com point to DomainB.com
So that a file DomainB.com/abc.html
Can be access via subdomain1.DomainA.Com/abc.html
I created a new cpanel account subdomain.domain.com
Sometimes i goto [url] on my browser, it changes to www.subdomain.domain.com
I want to disable 'www' for some 'xml' script reason.
How do I do that?
I want to park a subdomain on a domain like below.
subdomain.aaaaa.com parked on xxxxx.com
if my visitor opens subdomain.aaaaa.com he will actually see xxxxx.com without know that they are seeing xxxxx.com
I had done this before using cname settings few years ago through cpanel but i dont remember that anymore.
I have a website where users can sign up and create a site. They can access their website by typing username.example.com.
However, I would like to add to this the ability to buy a domain name and point it to username.example.com
so example.com/guestbook.html would translate to username.example.com/guestbook.html (external domain and associated user are mapped in the database)
Do I need my own DNS server for this or is there a simpler solution? Also, how should the database lookup be performed for this to work?
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 ------->
<Host name="domain.com" appBase="/home/domain/public_html">
<Alias>www.domain.com</Alias>
<Context path="" reloadable="true" docBase="/home/domain/public_html" debug="1"/>
<Context path="/manager" debug="0" privileged="true"
docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
</Context>
</Host>
<VirtualHost 192.168.1.1:80>
ServerName domain.com
ServerAlias www.domain.com
DocumentRoot /home/domain/public_html
ServerAdmin webmaster@domain.com
JkMount /*.jsp ajp12
JkMount /*.jsp ajp13
</VirtualHost>
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 would like to rewrite mysite.com to www.mysite.com.
However, if the request is a subdomain (i.e. blabla.mysite.com), then it should not rewrite.
I believe this gets me close, but it will not differentiate the subdomains (i.e., blabla.mysite.com).
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 want to host my site on my Dreamhost account for the IP benefit but I need to keep the high bw files on my dedi.
Anyone know how to set that in Dreamhost? And can you point how i will set the subdomain in CPanel on my server?
I just remove subdomain I was use it for time and when I remove it from cpanel it now work as a subdomain for my site.
View 0 Replies View RelatedI'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:
[Code] .....
Now that I am on a VPS, I have a handful of addon domains (linked to subdomains) that I want to move to individual Cpanel accounts.
Is there any shortcut to doing this (moving DB's, emails, etc.), or do I just need to create the cpanel account, recreate the emails, restore the DBs, etc.?
When cpanel edit the httpd.conf(to add subdomain/domain/etc) made a wrong.
In the lines
BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com-bytes_log
CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com combined
it breaks them as follows
--
BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com
-bytes_log
CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com
combined
And httpd cannot start and failed.
I've got a customer that has a website at hisdomain.com . He created a subdomain called dev.hisdomain.com for the new version of his website. Now he wants to take it live. Had he created dev.hisdomain.com as a subscription instead of a subdomain, it would have been easy to "rename" the old site to old.hisdomain.com and then rename the new site to the current name.
Am I going to have to move all the files around at the command line or is there an easier way to switch around the sites? The server in use is CentOS 6.6
I thought that those were my options.
Click to expand...
Click for original message
I've got a plesk 11 server and I've created a subdomain for a client but I need to have this as a full domain for the SSL certificate. Is there a way to convert a subdomain to a full domain without deleting the subdomain and creating a new hosting subscription?
View 2 Replies View RelatedWhen i add a Domain or Subdomain through Plesk Panel, I get the following Warning :
Attention: relink-vhost-logs failed: mkdir: cannot create directory `./vps118861.ovh.net/logs': File exists ERROR: Cannot relink logs. Target directory '/var/www/vhosts/vps118861.ovh.net/logs' is in invalid state.
[URL]
I tried the 2 solutions but I still have the error... here are the results of the two commands :
[root@vps118861 logs]# ls -alh
total 2,3M
drwxr-xr-x 16 administrateur root 4,0K 20 janv. 13:59 .
[Code]....