Problem main domain

berenland

Verified User
Joined
Jun 26, 2007
Messages
13
Ok for the image...

I completly setup a new server, and in production now. But i made a mistake. I set it up at an domain. for example Piet.nl
Now i cant setup domain creating the restore option. Because it told me that the domain is in use.
I read some info and that told me to change hostname to test.piet.nl But i cant still not restore the old domain.
When i look in de the dir for admin (/home/admin/domain/piet.nl/public_html) all the files are there! But when looked at www.piet.nl there is nothing shown. When im trying to go to admin account as user i can't not added piet.nl because not allowed.

So what can i do to fix this issue?
It's directadmin at an Centos7 machine.
 
Hello,

try and run this:

Code:
/usr/local/directadmin/scripts/hostname.sh [COLOR=#333333]test.piet.nl

and then try to re-add domain [/COLOR]piet.nl in directadmin.


 
When i look in de the dir for admin (/home/admin/domain/piet.nl/public_html) all the files are there! But when looked at www.piet.nl there is nothing shown.
Did you wait until DNS is synced? When you create piet.nl it can take up 4-8 hours before it resolves and you can visit piet.nl.

im trying to go to admin account as user i can't not added piet.nl because not allowed.
Which seems logical to me, because piet.nl already exist, you can't add it again. ;)

If you want me to have a look for you, send me a pm or email, ik ben ook Nederlander.
 
@ 1st remark: My used host is almost 10 years at same ip, so that won't be any problem i guess :)

@ 2nd remark: i will contact you but sadly not today because lots of work today. :-s

Greetz Berrie
 
@ 1st remark: My used host is almost 10 years at same ip, so that won't be any problem i guess

If it's about changing hostname, then usually it doesn't bring issues, and if it's a brand new server then you have less chances to brake existing setup.

Just make sure you've got a backup of files, emails, DBs, etc... before deleting domain (if it comes to be necessary).
 
If it's about changing hostname, then usually it doesn't bring issues, and if it's a brand new server then you have less chances to brake existing setup.

Just make sure you've got a backup of files, emails, DBs, etc... before deleting domain (if it comes to be necessary).

I ment the domain name and dns issues from the outside world :)

I still have the issue.
My DA is installed with piet.nl. It was in the past used by admin user account.
After installing new DA i back'd up everything (also the amin account. i checked everything for my users and workd fine.
But the only thing what is not working is my main domain (the company name is same.

I cant restore my old backup for the admin because it is already there :-s
I tried the script to set everything to server.piet.nl (example)
And everything still working. But the domain Piet.nl isn't there.. and i can't added at user account for admin. Because i got....already exist's..when looking at the all users list the user Admin (ofcourse) exists. But no domain name is show'n wich should be piet.nl :)

so i'll hope some have the golden tip how to fix this! :)

Greetz Berrie
 
Berrie,

Do you use Multiserver feature in Directadmin? It might be so that you use it, and directadmin won't allow to restore a domain in such a case, as it check whether or not domain exists on other servers which are included in Multiserver cluster.
 
Can you provide the real domain name so we can do some investigating in what could be wrong? If you don't want to post it in public, you can send me a pm.
 
okay some stuff works now! the file named.conf, i deleted the piet.nl domain. after using the sethostname (/usr/local/directadmin/scripts/hostname.sh) script.
And after that i can add new domain piet.nl :)
So that is not the issue anymore.

But (there always is....) now i received this message:

Diagnostic-Code: smtp; 550-Verification failed for <[email protected]>
550-Unrouteable address
550 Sender verify failed

the mail used from users works fine. This error is shown by script lijke Moodle ore other websending scripts.
This happend after adding and using the script. Any tips ??
 
run this:

Code:
hostname >> /etc/virtual/domains

Jep i see both domains overthere.. the piet.nl domain (with files in it)
But also the server.piet.nl is there.. but there are no files in it?
So what to do ?

greetz
berenland
 
Back
Top