Questions tagged [addon-domain]

52 questions
1
vote
2 answers

Cannot Add 'AddOn Domain' in cPanel

Adding AddOn Domain throws an error: ... add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver. I tried this link "Setting up Nameserver DNS Using cPanel/WebHost Manager" but i don't know why this…
webwarrior
  • 87
  • 1
  • 9
1
vote
1 answer

Disable access to addon domain via main domain

I have like 10 addon domains on my main website, and atm you can visit any addon (call it test1.com) website with link as test1.mainwebsite.com or www.mainwebsite.com/test1 How can I block this access to addons? I have tried this, but this block…
Nutic
  • 1,407
  • 4
  • 16
  • 31
0
votes
2 answers

Multiple addon domains, one htaccess file

Lets say, my root domain name is main.com and I have two addon domains: addon1.com and addon2.com. My script is already ready and I can see my websites like this: www.main.com/show.php?domain=addon1.com But, what I want is displaying websites…
Deniz
  • 1
0
votes
1 answer

Laravel 8 project deploy to shared hosting - security issues and public_html folder

I was able to deploy my laravel 8 application as and addon domain on inmotion shared hosting based on the following article https://medium.com/backenders-club/how-to-host-a-laravel-project-on-a-shared-hosting-via-cpanel-d955d32c528e However, there…
0
votes
0 answers

Add custom domain to specific URL of main domain

I have a multivendor eCommerce site. for example, mainsite.com. where vendor shop URL is mainsite.com/s/shopname. I want to give vendors to add a custom domain pointing to their shop. How can I create this type of functionality on my site? This…
0
votes
1 answer

Add-on Domain with/without HTTPS

I have created a project where i have same code for multiple websites which is running with add on domain and few with sub domain. Now i have a issue, i have installed SSL certificate and redirect it to https using .htaccess file for one add on…
0
votes
1 answer

How to redirect subdomain (with all folders and files) to another domain using htaccess?

I want to redirect subdomain.example.com and all possible URLs accessed by subdomain (like subdomain.example.com/somefolder/somefile.php) to another domain example-two.com. Is it possible with htaccess?
Vladimir
  • 1
  • 2
0
votes
0 answers

Create subdomain of addon domain

How can I create a subdomain of the addon domain using PHP programmatically? My primary domain is example.com an addon domain is example2.com Now I want to create test.example2.com using PHP. How can I create this subdomain? I tried the following…
0
votes
1 answer

Analytics for Add-on Domains

I have a website that can be accessed from two different URLs. The same files and the same database are used, with the exception that the server-side language reads the domain name and if it's one or the other it serves a different language by…
Francisc
  • 77,430
  • 63
  • 180
  • 276
0
votes
2 answers

Install Wordpress in subdirectory as addon domain and remove install folder in url

I have installed an addon domain and created a subdirectory in the public_html folder where I installed wordpress for the new site. Everything works fine except the I cannot remove the subfolder from the url. I presume chhanging the htaccess file in…
user2982427
0
votes
1 answer

Unable to host my new website after addon domain in Cpanel

I can't see my website after publishing it on the cpanel using file manager(public_html). My websites Link and afroark.org
0
votes
0 answers

Upload image to main domain from add-on domain

I am developing an application using php. The application is hosted as an add-on domain with another application in the main domain. The main domain has a blogging app, but the add-on domain also saves blog posts to the same database tables as the…
Ogbert
  • 11
  • 3
0
votes
1 answer

Pointing two domains to same IP htaccess edit

I am having two domains https:www.site.com and https:www.site2.sa which is pointed to same IP. www.site2.sa is added as addon domain. I have put files for www.site.com in public_html and files for www.site2.com is in public_html/site2.sa The website…
codieboie
  • 52
  • 2
  • 10
0
votes
1 answer

set up addondomain getting "This website no longer exists or never existed."

I setup an addondomain and I was able to create it following this link. Now I wanted to access that addondomain using the name I used in the Addon Domains column. In this link the equivalent of the address I want to access is…
Manlapig
  • 33
  • 9
0
votes
1 answer

CPanel - addon domain with greek TLD .ελ

I try to addon a domain via cpanel with the new greek TLD .ελ. (It does contain greek characters). Ι am going to cpanel > domains > Addon Domains and in the first input "New Domain Name", when I add the new domain (eg: mydomain.ελ), I get the…
alexikakos
  • 15
  • 1
  • 6